Recognised as Colour
#2F0871
- #2F0871
- Violet
- Dark
- Nearest: Midnight blue
#2F0871 is a violet with RGB values 47, 8, 113 and HSL 262°, 87%, 24%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F0871#2F0871
HEX#2F0871
RGBrgb(47, 8, 113)
RGB (0–1)0.1843, 0.0314, 0.4431
RGB percentages18.4%, 3.1%, 44.3%
HSLhsl(262.3, 86.8%, 23.7%)
HSV / HSBhsv(262.3, 92.9%, 44.3%)
CMYK58.4%, 92.9%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,082,353
CSS custom property--colour: #2F0871;
Brightness & contrast
Relative luminance0.0197WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.06:1
Contrast with white15.06:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#D0F78E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.06:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4A7108
Analogous#081571, #640871
Triadic#712F08, #08712F
Split complementary#716408, #157108
Tetradic#710815, #4A7108, #087164
Tints, shades & saturation
Channel breakdown
R47
G8
B113
Red47 (18.4%)
Green8 (3.1%)
Blue113 (44.3%)
Hue262.29°
Saturation (HSL)86.78%
Lightness23.73%
Dominant channelBlue
Hex per channelR 2F · G 08 · B 71
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