Recognised as Colour
#1F022F
- #1F022F
- Violet
- Dark
- Nearest: Midnight blue
#1F022F is a violet with RGB values 31, 2, 47 and HSL 279°, 92%, 10%. It is a dark colour, so white text on it reaches 19:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#1F022F#1F022F
HEX#1F022F
RGBrgb(31, 2, 47)
RGB (0–1)0.1216, 0.0078, 0.1843
RGB percentages12.2%, 0.8%, 18.4%
HSLhsl(278.7, 91.8%, 9.6%)
HSV / HSBhsv(278.7, 95.7%, 18.4%)
CMYK34%, 95.7%, 0%, 81.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,032,175
CSS custom property--colour: #1F022F;
Brightness & contrast
Relative luminance0.0054WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.95:1
Contrast with white18.95:1WCAG normal text: AAA
Contrast with black1.11:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#E0FDD0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.95:1WCAG large text: AAA
Contrast with black, large text1.11:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#122F02
Analogous#08022F, #2F0229
Triadic#2F1F02, #022F1F
Split complementary#292F02, #022F08
Tetradic#2F0802, #122F02, #02292F
Tints, shades & saturation
Channel breakdown
R31
G2
B47
Red31 (12.2%)
Green2 (0.8%)
Blue47 (18.4%)
Hue278.67°
Saturation (HSL)91.84%
Lightness9.61%
Dominant channelBlue
Hex per channelR 1F · G 02 · B 2F
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