Recognised as Colour
#310B68
- #310B68
- Violet
- Dark
- Nearest: Midnight blue
#310B68 is a violet with RGB values 49, 11, 104 and HSL 265°, 81%, 23%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#310B68#310B68
HEX#310B68
RGBrgb(49, 11, 104)
RGB (0–1)0.1922, 0.0431, 0.4078
RGB percentages19.2%, 4.3%, 40.8%
HSLhsl(264.5, 80.9%, 22.5%)
HSV / HSBhsv(264.5, 89.4%, 40.8%)
CMYK52.9%, 89.4%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,184
CSS custom property--colour: #310B68;
Brightness & contrast
Relative luminance0.01892WCAG 2.x, 0 is black and 1 is white
Perceived brightness45 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.24:1
Contrast with white15.24:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CEF497
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.24:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42680B
Analogous#0B1468, #5F0B68
Triadic#68310B, #0B6831
Split complementary#685F0B, #14680B
Tetradic#680B14, #42680B, #0B685F
Tints, shades & saturation
Channel breakdown
R49
G11
B104
Red49 (19.2%)
Green11 (4.3%)
Blue104 (40.8%)
Hue264.52°
Saturation (HSL)80.87%
Lightness22.55%
Dominant channelBlue
Hex per channelR 31 · G 0B · B 68
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