Recognised as Colour
#12041D
- #12041D
- Violet
- Dark
- Nearest: Black
#12041D is a violet with RGB values 18, 4, 29 and HSL 274°, 76%, 6%. It is a dark colour, so white text on it reaches 19.8:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#12041D#12041D
HEX#12041D
RGBrgb(18, 4, 29)
RGB (0–1)0.0706, 0.0157, 0.1137
RGB percentages7.1%, 1.6%, 11.4%
HSLhsl(273.6, 75.8%, 6.5%)
HSV / HSBhsv(273.6, 86.2%, 11.4%)
CMYK37.9%, 86.2%, 0%, 88.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,180,701
CSS custom property--colour: #12041D;
Brightness & contrast
Relative luminance0.00304WCAG 2.x, 0 is black and 1 is white
Perceived brightness14.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.8:1
Contrast with white19.8:1WCAG normal text: AAA
Contrast with black1.06:1WCAG normal text: Fail
Greyscale equivalent#090909
Inverted#EDFBE2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.8:1WCAG large text: AAA
Contrast with black, large text1.06:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0F1D04
Analogous#06041D, #1D041B
Triadic#1D1204, #041D12
Split complementary#1B1D04, #041D06
Tetradic#1D0604, #0F1D04, #041B1D
Tints, shades & saturation
Channel breakdown
R18
G4
B29
Red18 (7.1%)
Green4 (1.6%)
Blue29 (11.4%)
Hue273.6°
Saturation (HSL)75.76%
Lightness6.47%
Dominant channelBlue
Hex per channelR 12 · G 04 · B 1D
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