Recognised as Colour
#1F0F28
- #1F0F28
- Violet
- Dark
- Nearest: Black
#1F0F28 is a violet with RGB values 31, 15, 40 and HSL 278°, 45%, 11%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#1F0F28#1F0F28
HEX#1F0F28
RGBrgb(31, 15, 40)
RGB (0–1)0.1216, 0.0588, 0.1569
RGB percentages12.2%, 5.9%, 15.7%
HSLhsl(278.4, 45.5%, 10.8%)
HSV / HSBhsv(278.4, 62.5%, 15.7%)
CMYK22.5%, 62.5%, 0%, 84.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,035,496
CSS custom property--colour: #1F0F28;
Brightness & contrast
Relative luminance0.00786WCAG 2.x, 0 is black and 1 is white
Perceived brightness24.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.15:1
Contrast with white18.15:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#E0F0D7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.15:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#18280F
Analogous#120F28, #280F25
Triadic#281F0F, #0F281F
Split complementary#25280F, #0F2812
Tetradic#28120F, #18280F, #0F2528
Tints, shades & saturation
Channel breakdown
R31
G15
B40
Red31 (12.2%)
Green15 (5.9%)
Blue40 (15.7%)
Hue278.4°
Saturation (HSL)45.45%
Lightness10.78%
Dominant channelBlue
Hex per channelR 1F · G 0F · B 28
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