#201531#201531

#201531 is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.5% C 0.054 H 300.2°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#201531
RGBrgb(32, 21, 49)
HSLhsl(264, 40%, 14%)
HSVhsv(264, 57%, 19%)
CMYKcmyk(34.7%, 57.1%, 0%, 80.8%)
CIE-LABlab(9.52, 13.08, -16.64)
CIE-LCHlch(9.52, 21.16, 308.16°)
OKLaboklab(22.54% 0.0273 -0.0467)
OKLCHoklch(22.54% 0.054 300.2)
XYZxyz(1.4181, 1.0652, 3.0360)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201531 #263115
analogous
#151831 #201531 #2E1531
triadic
#201531 #312015 #153120
tetradic
#201531 #311518 #263115 #15312E
square
#201531 #311518 #263115 #15312E
split-complementary
#201531 #312E15 #183115
monochromatic
#0E0915 #0E0915 #201531 #3C275C #583A87

Accessibility & contrast

On white

17.31
#201531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#201531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201531
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201531#FFFFFF#000000##FFFFFF
##2015311.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A32
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#1D1A20
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201531;
/* rgb */ color: rgb(32, 21, 49);
/* oklch */ color: oklch(22.5% 0.054 300.2);
Tailwind
colors: {
  custom: {
    50: '#5c5269',
    500: '#201531',
    950: '#000000',
  },
}
SCSS
$custom: #201531;
$custom-light: #5c5269;
$custom-dark: #000000;
JSON
{
  "hex": "#201531",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 263.571,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22537,
    "c": 0.0541,
    "h": 300.2
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#201531
secondary
#56683A
accent
#D058A1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #201531

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

Preview Lab → · Contrast checker → · Palette generator →

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