#201331#201331

#201331 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.1% C 0.058 H 301.9°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#201331
RGBrgb(32, 19, 49)
HSLhsl(266, 44%, 13%)
HSVhsv(266, 61%, 19%)
CMYKcmyk(34.7%, 61.2%, 0%, 80.8%)
CIE-LABlab(8.95, 14.53, -17.56)
CIE-LCHlch(8.95, 22.79, 309.62°)
OKLaboklab(22.11% 0.0307 -0.0494)
OKLCHoklch(22.11% 0.058 301.9)
XYZxyz(1.3828, 0.9946, 3.0243)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201331 #243113
analogous
#131531 #201331 #2F1331
triadic
#201331 #312013 #133120
tetradic
#201331 #311315 #243113 #13312F
square
#201331 #311315 #243113 #13312F
split-complementary
#201331 #312F13 #153113
monochromatic
#0E0916 #0E0916 #201331 #3D245D #5A3589

Accessibility & contrast

On white

17.51
#201331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#201331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201331
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201331#FFFFFF#000000##FFFFFF
##2013311.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#0D1930
Tritanopia (blue-blind)
#1D191F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #201331;
/* rgb */ color: rgb(32, 19, 49);
/* oklch */ color: oklch(22.1% 0.058 301.9);
Tailwind
colors: {
  custom: {
    50: '#5c5169',
    500: '#201331',
    950: '#000000',
  },
}
SCSS
$custom: #201331;
$custom-light: #5c5169;
$custom-dark: #000000;
JSON
{
  "hex": "#201331",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 266,
    "s": 44.118,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22107,
    "c": 0.05817,
    "h": 301.9
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#201331
secondary
#536937
accent
#D4549C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201331

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#201331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva