Nerdulator> put something in

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

Protanopia#00164Eno red cones; affects about 1% of men; ΔE 16.6 from the original
Deuteranopia#00124Bno green cones; the most common form, about 1% of men; ΔE 14.6 from the original
Tritanopia#001929no blue cones; rare, and affects men and women equally; ΔE 45.2 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 12.87, a distinctly different colour
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

Lighter +40%#6219FF
Lighter +30%#4800E5
Lighter +20%#3800B2
Lighter +10%#28007F
Darker −10%#080019
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#18004C
Less saturated −25%#1C0A42

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “18004c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.