Recognised as Colour
#31174B
- #31174B
- Violet
- Dark
- Nearest: Dark slateblue
#31174B is a violet with RGB values 49, 23, 75 and HSL 270°, 53%, 19%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#31174B#31174B
HEX#31174B
RGBrgb(49, 23, 75)
RGB (0–1)0.1922, 0.0902, 0.2941
RGB percentages19.2%, 9%, 29.4%
HSLhsl(270, 53.1%, 19.2%)
HSV / HSBhsv(270, 69.3%, 29.4%)
CMYK34.7%, 69.3%, 0%, 70.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,217,227
CSS custom property--colour: #31174B;
Brightness & contrast
Relative luminance0.01774WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.5:1
Contrast with white15.5:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#CEE8B4
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.5: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#314B17
Analogous#17174B, #4B174B
Triadic#4B3117, #174B31
Split complementary#4B4B17, #174B17
Tetradic#4B1717, #314B17, #174B4B
Tints, shades & saturation
Channel breakdown
R49
G23
B75
Red49 (19.2%)
Green23 (9%)
Blue75 (29.4%)
Hue270°
Saturation (HSL)53.06%
Lightness19.22%
Dominant channelBlue
Hex per channelR 31 · G 17 · B 4B
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