Recognised as Colour
#31008F
- #31008F
- Violet
- Dark
- Nearest: Dark blue
#31008F is a violet with RGB values 49, 0, 143 and HSL 261°, 100%, 28%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#31008F#31008F
HEX#31008F
RGBrgb(49, 0, 143)
RGB (0–1)0.1922, 0, 0.5608
RGB percentages19.2%, 0%, 56.1%
HSLhsl(260.6, 100%, 28%)
HSV / HSBhsv(260.6, 100%, 56.1%)
CMYK65.7%, 100%, 0%, 43.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,211,407
CSS custom property--colour: #31008F;
Brightness & contrast
Relative luminance0.02636WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.75:1
Contrast with white13.75:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#CEFF70
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.75:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E8F00
Analogous#00178F, #78008F
Triadic#8F3100, #008F31
Split complementary#8F7800, #178F00
Tetradic#8F0017, #5E8F00, #008F78
Tints, shades & saturation
Channel breakdown
R49
G0
B143
Red49 (19.2%)
Green0 (0%)
Blue143 (56.1%)
Hue260.56°
Saturation (HSL)100%
Lightness28.04%
Dominant channelBlue
Hex per channelR 31 · G 00 · B 8F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page