Recognised as Colour
#331B39
- #331B39
- Violet
- Dark
- Nearest: Black
#331B39 is a violet with RGB values 51, 27, 57 and HSL 288°, 36%, 16%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#331B39#331B39
HEX#331B39
RGBrgb(51, 27, 57)
RGB (0–1)0.2, 0.1059, 0.2235
RGB percentages20%, 10.6%, 22.4%
HSLhsl(288, 35.7%, 16.5%)
HSV / HSBhsv(288, 52.6%, 22.4%)
CMYK10.5%, 52.6%, 0%, 77.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,349,305
CSS custom property--colour: #331B39;
Brightness & contrast
Relative luminance0.01783WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.48:1
Contrast with white15.48:1WCAG normal text: AAA
Contrast with black1.36:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#CCE4C6
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.48:1WCAG large text: AAA
Contrast with black, large text1.36:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#21391B
Analogous#241B39, #391B30
Triadic#39331B, #1B3933
Split complementary#30391B, #1B3924
Tetradic#39241B, #21391B, #1B3039
Tints, shades & saturation
Channel breakdown
R51
G27
B57
Red51 (20%)
Green27 (10.6%)
Blue57 (22.4%)
Hue288°
Saturation (HSL)35.71%
Lightness16.47%
Dominant channelBlue
Hex per channelR 33 · G 1B · B 39
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