Recognised as Colour
#31203B
- #31203B
- Violet
- Dark
- Nearest: Black
#31203B is a violet with RGB values 49, 32, 59 and HSL 278°, 30%, 18%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#31203B#31203B
HEX#31203B
RGBrgb(49, 32, 59)
RGB (0–1)0.1922, 0.1255, 0.2314
RGB percentages19.2%, 12.5%, 23.1%
HSLhsl(277.8, 29.7%, 17.8%)
HSV / HSBhsv(277.8, 45.8%, 23.1%)
CMYK16.9%, 45.8%, 0%, 76.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,219,515
CSS custom property--colour: #31203B;
Brightness & contrast
Relative luminance0.02002WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15:1
Contrast with white15:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#CEDFC4
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2A3B20
Analogous#24203B, #3B2037
Triadic#3B3120, #203B31
Split complementary#383B20, #203B23
Tetradic#3B2420, #2A3B20, #20373B
Tints, shades & saturation
Channel breakdown
R49
G32
B59
Red49 (19.2%)
Green32 (12.5%)
Blue59 (23.1%)
Hue277.78°
Saturation (HSL)29.67%
Lightness17.84%
Dominant channelBlue
Hex per channelR 31 · G 20 · B 3B
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