Recognised as Colour
#18004C
- #18004C
- Violet
- Dark
- Nearest: Midnight blue
#18004C is a violet with RGB values 24, 0, 76 and HSL 259°, 100%, 15%. It is a dark colour, so white text on it reaches 18.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#18004C#18004C
HEX#18004C
RGBrgb(24, 0, 76)
RGB (0–1)0.0941, 0, 0.298
RGB percentages9.4%, 0%, 29.8%
HSLhsl(258.9, 100%, 14.9%)
HSV / HSBhsv(258.9, 100%, 29.8%)
CMYK68.4%, 100%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,572,940
CSS custom property--colour: #18004C;
Brightness & contrast
Relative luminance0.00716WCAG 2.x, 0 is black and 1 is white
Perceived brightness28.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.37:1
Contrast with white18.37:1WCAG normal text: AAA
Contrast with black1.14:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#E7FFB3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.37:1WCAG large text: AAA
Contrast with black, large text1.14:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#344C00
Analogous#000E4C, #3E004C
Triadic#4C1800, #004C18
Split complementary#4C3E00, #0E4C00
Tetradic#4C000E, #344C00, #004C3E
Tints, shades & saturation
Channel breakdown
R24
G0
B76
Red24 (9.4%)
Green0 (0%)
Blue76 (29.8%)
Hue258.95°
Saturation (HSL)100%
Lightness14.9%
Dominant channelBlue
Hex per channelR 18 · G 00 · B 4C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page