Recognised as Colour
#2F0051
- #2F0051
- Violet
- Dark
- Nearest: Midnight blue
#2F0051 is a violet with RGB values 47, 0, 81 and HSL 275°, 100%, 16%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F0051#2F0051
HEX#2F0051
RGBrgb(47, 0, 81)
RGB (0–1)0.1843, 0, 0.3176
RGB percentages18.4%, 0%, 31.8%
HSLhsl(274.8, 100%, 15.9%)
HSV / HSBhsv(274.8, 100%, 31.8%)
CMYK42%, 100%, 0%, 68.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,080,273
CSS custom property--colour: #2F0051;
Brightness & contrast
Relative luminance0.01198WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.94:1
Contrast with white16.94:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D0FFAE
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.94:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#225100
Analogous#060051, #51004B
Triadic#512F00, #00512F
Split complementary#4B5100, #005106
Tetradic#510600, #225100, #004B51
Tints, shades & saturation
Channel breakdown
R47
G0
B81
Red47 (18.4%)
Green0 (0%)
Blue81 (31.8%)
Hue274.81°
Saturation (HSL)100%
Lightness15.88%
Dominant channelBlue
Hex per channelR 2F · G 00 · B 51
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