Recognised as Colour
#310F40
- #310F40
- Violet
- Dark
- Nearest: Dark slateblue
#310F40 is a violet with RGB values 49, 15, 64 and HSL 282°, 62%, 15%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#310F40#310F40
HEX#310F40
RGBrgb(49, 15, 64)
RGB (0–1)0.1922, 0.0588, 0.251
RGB percentages19.2%, 5.9%, 25.1%
HSLhsl(281.6, 62%, 15.5%)
HSV / HSBhsv(281.6, 76.6%, 25.1%)
CMYK23.4%, 76.6%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,215,168
CSS custom property--colour: #310F40;
Brightness & contrast
Relative luminance0.01365WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.5:1
Contrast with white16.5:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CEF0BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.5:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1E400F
Analogous#190F40, #400F36
Triadic#40310F, #0F4031
Split complementary#36400F, #0F4019
Tetradic#40190F, #1E400F, #0F3640
Tints, shades & saturation
Channel breakdown
R49
G15
B64
Red49 (19.2%)
Green15 (5.9%)
Blue64 (25.1%)
Hue281.63°
Saturation (HSL)62.03%
Lightness15.49%
Dominant channelBlue
Hex per channelR 31 · G 0F · B 40
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