Recognised as Colour
#331D54
- #331D54
- Violet
- Dark
- Nearest: Dark slateblue
#331D54 is a violet with RGB values 51, 29, 84 and HSL 264°, 49%, 22%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#331D54#331D54
HEX#331D54
RGBrgb(51, 29, 84)
RGB (0–1)0.2, 0.1137, 0.3294
RGB percentages20%, 11.4%, 32.9%
HSLhsl(264, 48.7%, 22.2%)
HSV / HSBhsv(264, 65.5%, 32.9%)
CMYK39.3%, 65.5%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,349,844
CSS custom property--colour: #331D54;
Brightness & contrast
Relative luminance0.02223WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.54:1
Contrast with white14.54:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#CCE2AB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.54:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3E541D
Analogous#1D2354, #4F1D54
Triadic#54331D, #1D5433
Split complementary#544F1D, #23541D
Tetradic#541D22, #3E541D, #1D544F
Tints, shades & saturation
Channel breakdown
R51
G29
B84
Red51 (20%)
Green29 (11.4%)
Blue84 (32.9%)
Hue264°
Saturation (HSL)48.67%
Lightness22.16%
Dominant channelBlue
Hex per channelR 33 · G 1D · B 54
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