Recognised as Colour
#24066C
- #24066C
- Violet
- Dark
- Nearest: Midnight blue
#24066C is a violet with RGB values 36, 6, 108 and HSL 258°, 89%, 22%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#24066C#24066C
HEX#24066C
RGBrgb(36, 6, 108)
RGB (0–1)0.1412, 0.0235, 0.4235
RGB percentages14.1%, 2.4%, 42.4%
HSLhsl(257.6, 89.5%, 22.4%)
HSV / HSBhsv(257.6, 94.4%, 42.4%)
CMYK66.7%, 94.4%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,360,940
CSS custom property--colour: #24066C;
Brightness & contrast
Relative luminance0.01588WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.94:1
Contrast with white15.94:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#DBF993
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.94:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4E6C06
Analogous#061B6C, #57066C
Triadic#6C2406, #066C24
Split complementary#6C5706, #1B6C06
Tetradic#6C061B, #4E6C06, #066C57
Tints, shades & saturation
Channel breakdown
R36
G6
B108
Red36 (14.1%)
Green6 (2.4%)
Blue108 (42.4%)
Hue257.65°
Saturation (HSL)89.47%
Lightness22.35%
Dominant channelBlue
Hex per channelR 24 · G 06 · B 6C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page