Recognised as Colour
#1F072A
- #1F072A
- Violet
- Dark
- Nearest: Black
#1F072A is a violet with RGB values 31, 7, 42 and HSL 281°, 71%, 10%. It is a dark colour, so white text on it reaches 18.7:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#1F072A#1F072A
HEX#1F072A
RGBrgb(31, 7, 42)
RGB (0–1)0.1216, 0.0275, 0.1647
RGB percentages12.2%, 2.7%, 16.5%
HSLhsl(281.1, 71.4%, 9.6%)
HSV / HSBhsv(281.1, 83.3%, 16.5%)
CMYK26.2%, 83.3%, 0%, 83.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,033,450
CSS custom property--colour: #1F072A;
Brightness & contrast
Relative luminance0.0061WCAG 2.x, 0 is black and 1 is white
Perceived brightness22.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.72:1
Contrast with white18.72:1WCAG normal text: AAA
Contrast with black1.12:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#E0F8D5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.72:1WCAG large text: AAA
Contrast with black, large text1.12:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#122A07
Analogous#0D072A, #2A0724
Triadic#2A1F07, #072A1F
Split complementary#232A07, #072A0E
Tetradic#2A0E07, #122A07, #07242A
Tints, shades & saturation
Channel breakdown
R31
G7
B42
Red31 (12.2%)
Green7 (2.7%)
Blue42 (16.5%)
Hue281.14°
Saturation (HSL)71.43%
Lightness9.61%
Dominant channelBlue
Hex per channelR 1F · G 07 · B 2A
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