Recognised as Colour
#2F1372
- #2F1372
- Violet
- Dark
- Nearest: Midnight blue
#2F1372 is a violet with RGB values 47, 19, 114 and HSL 258°, 71%, 26%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F1372#2F1372
HEX#2F1372
RGBrgb(47, 19, 114)
RGB (0–1)0.1843, 0.0745, 0.4471
RGB percentages18.4%, 7.5%, 44.7%
HSLhsl(257.7, 71.4%, 26.1%)
HSV / HSBhsv(257.7, 83.3%, 44.7%)
CMYK58.8%, 83.3%, 0%, 55.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,085,170
CSS custom property--colour: #2F1372;
Brightness & contrast
Relative luminance0.02285WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.41:1
Contrast with white14.41:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#D0EC8D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.41:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#567213
Analogous#132672, #5F1372
Triadic#722F13, #13722F
Split complementary#725E13, #277213
Tetradic#721326, #567213, #13725F
Tints, shades & saturation
Channel breakdown
R47
G19
B114
Red47 (18.4%)
Green19 (7.5%)
Blue114 (44.7%)
Hue257.68°
Saturation (HSL)71.43%
Lightness26.08%
Dominant channelBlue
Hex per channelR 2F · G 13 · B 72
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