Recognised as Colour
#310E4E
- #310E4E
- Violet
- Dark
- Nearest: Midnight blue
#310E4E is a violet with RGB values 49, 14, 78 and HSL 273°, 70%, 18%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#310E4E#310E4E
HEX#310E4E
RGBrgb(49, 14, 78)
RGB (0–1)0.1922, 0.0549, 0.3059
RGB percentages19.2%, 5.5%, 30.6%
HSLhsl(272.8, 69.6%, 18%)
HSV / HSBhsv(272.8, 82.1%, 30.6%)
CMYK37.2%, 82.1%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,926
CSS custom property--colour: #310E4E;
Brightness & contrast
Relative luminance0.01517WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.11:1
Contrast with white16.11:1WCAG normal text: AAA
Contrast with black1.3:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CEF1B1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.11:1WCAG large text: AAA
Contrast with black, large text1.3:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2B4E0E
Analogous#110E4E, #4E0E4B
Triadic#4E310E, #0E4E31
Split complementary#4B4E0E, #0E4E11
Tetradic#4E110E, #2B4E0E, #0E4B4E
Tints, shades & saturation
Channel breakdown
R49
G14
B78
Red49 (19.2%)
Green14 (5.5%)
Blue78 (30.6%)
Hue272.81°
Saturation (HSL)69.57%
Lightness18.04%
Dominant channelBlue
Hex per channelR 31 · G 0E · B 4E
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