Recognised as Colour
#2F1867
- #2F1867
- Violet
- Dark
- Nearest: Midnight blue
#2F1867 is a violet with RGB values 47, 24, 103 and HSL 257°, 62%, 25%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F1867#2F1867
HEX#2F1867
RGBrgb(47, 24, 103)
RGB (0–1)0.1843, 0.0941, 0.4039
RGB percentages18.4%, 9.4%, 40.4%
HSLhsl(257.5, 62.2%, 24.9%)
HSV / HSBhsv(257.5, 76.7%, 40.4%)
CMYK54.4%, 76.7%, 0%, 59.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,086,439
CSS custom property--colour: #2F1867;
Brightness & contrast
Relative luminance0.02237WCAG 2.x, 0 is black and 1 is white
Perceived brightness47 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.51:1
Contrast with white14.51:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#D0E798
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.51:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#506718
Analogous#182867, #571867
Triadic#672F18, #18672F
Split complementary#675718, #296718
Tetradic#671828, #506718, #186757
Tints, shades & saturation
Channel breakdown
R47
G24
B103
Red47 (18.4%)
Green24 (9.4%)
Blue103 (40.4%)
Hue257.47°
Saturation (HSL)62.2%
Lightness24.9%
Dominant channelBlue
Hex per channelR 2F · G 18 · B 67
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