Recognised as Colour
#310F4E
- #310F4E
- Violet
- Dark
- Nearest: Midnight blue
#310F4E is a violet with RGB values 49, 15, 78 and HSL 272°, 68%, 18%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#310F4E#310F4E
HEX#310F4E
RGBrgb(49, 15, 78)
RGB (0–1)0.1922, 0.0588, 0.3059
RGB percentages19.2%, 5.9%, 30.6%
HSLhsl(272.4, 67.7%, 18.2%)
HSV / HSBhsv(272.4, 80.8%, 30.6%)
CMYK37.2%, 80.8%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,215,182
CSS custom property--colour: #310F4E;
Brightness & contrast
Relative luminance0.01545WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.04:1
Contrast with white16.04:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CEF0B1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.04:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C4E0F
Analogous#110F4E, #4E0F4C
Triadic#4E310F, #0F4E31
Split complementary#4C4E0F, #0F4E11
Tetradic#4E110F, #2C4E0F, #0F4C4E
Tints, shades & saturation
Channel breakdown
R49
G15
B78
Red49 (19.2%)
Green15 (5.9%)
Blue78 (30.6%)
Hue272.38°
Saturation (HSL)67.74%
Lightness18.24%
Dominant channelBlue
Hex per channelR 31 · G 0F · 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