Recognised as Colour
#310D80
- #310D80
- Violet
- Dark
- Nearest: Indigo
#310D80 is a violet with RGB values 49, 13, 128 and HSL 259°, 82%, 28%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#310D80#310D80
HEX#310D80
RGBrgb(49, 13, 128)
RGB (0–1)0.1922, 0.051, 0.502
RGB percentages19.2%, 5.1%, 50.2%
HSLhsl(258.8, 81.6%, 27.6%)
HSV / HSBhsv(258.8, 89.8%, 50.2%)
CMYK61.7%, 89.8%, 0%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,720
CSS custom property--colour: #310D80;
Brightness & contrast
Relative luminance0.02499WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14:1
Contrast with white14:1WCAG normal text: AAA
Contrast with black1.5:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#CEF27F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14:1WCAG large text: AAA
Contrast with black, large text1.5:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5C800D
Analogous#0D2280, #6B0D80
Triadic#80310D, #0D8031
Split complementary#806B0D, #22800D
Tetradic#800D22, #5C800D, #0D806B
Tints, shades & saturation
Channel breakdown
R49
G13
B128
Red49 (19.2%)
Green13 (5.1%)
Blue128 (50.2%)
Hue258.78°
Saturation (HSL)81.56%
Lightness27.65%
Dominant channelBlue
Hex per channelR 31 · G 0D · B 80
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