Recognised as Colour
#310F5A
- #310F5A
- Violet
- Dark
- Nearest: Midnight blue
#310F5A is a violet with RGB values 49, 15, 90 and HSL 267°, 71%, 21%. It is a dark colour, so white text on it reaches 15.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#310F5A#310F5A
HEX#310F5A
RGBrgb(49, 15, 90)
RGB (0–1)0.1922, 0.0588, 0.3529
RGB percentages19.2%, 5.9%, 35.3%
HSLhsl(267.2, 71.4%, 20.6%)
HSV / HSBhsv(267.2, 83.3%, 35.3%)
CMYK45.6%, 83.3%, 0%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,215,194
CSS custom property--colour: #310F5A;
Brightness & contrast
Relative luminance0.01733WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.6:1
Contrast with white15.6:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#CEF0A5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.6:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#385A0F
Analogous#0F125A, #570F5A
Triadic#5A310F, #0F5A31
Split complementary#5A560F, #135A0F
Tetradic#5A0F12, #385A0F, #0F5A57
Tints, shades & saturation
Channel breakdown
R49
G15
B90
Red49 (19.2%)
Green15 (5.9%)
Blue90 (35.3%)
Hue267.2°
Saturation (HSL)71.43%
Lightness20.59%
Dominant channelBlue
Hex per channelR 31 · G 0F · B 5A
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