Recognised as Colour
#310D58
- #310D58
- Violet
- Dark
- Nearest: Midnight blue
#310D58 is a violet with RGB values 49, 13, 88 and HSL 269°, 74%, 20%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#310D58#310D58
HEX#310D58
RGBrgb(49, 13, 88)
RGB (0–1)0.1922, 0.051, 0.3451
RGB percentages19.2%, 5.1%, 34.5%
HSLhsl(268.8, 74.3%, 19.8%)
HSV / HSBhsv(268.8, 85.2%, 34.5%)
CMYK44.3%, 85.2%, 0%, 65.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,680
CSS custom property--colour: #310D58;
Brightness & contrast
Relative luminance0.01645WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.8:1
Contrast with white15.8:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CEF2A7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.8:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#34580D
Analogous#0D0F58, #560D58
Triadic#58310D, #0D5831
Split complementary#58570D, #0E580D
Tetradic#580D0F, #34580D, #0D5856
Tints, shades & saturation
Channel breakdown
R49
G13
B88
Red49 (19.2%)
Green13 (5.1%)
Blue88 (34.5%)
Hue268.8°
Saturation (HSL)74.26%
Lightness19.8%
Dominant channelBlue
Hex per channelR 31 · G 0D · B 58
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