#201820#201820

#201820 is a very dark, near-neutral purple. Relative luminance 0.011; OKLCH L 22.2% C 0.020 H 326.2°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#201820
RGBrgb(32, 24, 32)
HSLhsl(300, 14%, 11%)
HSVhsv(300, 25%, 13%)
CMYKcmyk(0%, 25%, 0%, 87.5%)
CIE-LABlab(9.52, 5.88, -4.05)
CIE-LCHlch(9.52, 7.14, 325.46°)
OKLaboklab(22.23% 0.0162 -0.0108)
OKLCHoklch(22.23% 0.02 326.2)
XYZxyz(1.1830, 1.0647, 1.5094)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201820 #182018
analogous
#1C1820 #201820 #20181C
triadic
#201820 #202018 #182020
tetradic
#201820 #201C18 #182018 #181C20
square
#201820 #201C18 #182018 #181C20
split-complementary
#201820 #1C2018 #18201C
monochromatic
#110D11 #110D11 #201820 #433243 #664C66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##201820#FFFFFF#000000##FFFFFF
##2018201.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)
#181A20
Deuteranopia (green-blind)
#191B20
Tritanopia (blue-blind)
#21191B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201820;
/* rgb */ color: rgb(32, 24, 32);
/* oklch */ color: oklch(22.2% 0.020 326.2);
Tailwind
colors: {
  custom: {
    50: '#5b545b',
    500: '#201820',
    950: '#000000',
  },
}
SCSS
$custom: #201820;
$custom-light: #5b545b;
$custom-dark: #000000;
JSON
{
  "hex": "#201820",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 300,
    "s": 14.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22226,
    "c": 0.01951,
    "h": 326.2
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#201820
secondary
#435143
accent
#B77171
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201820

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

Preview Lab → · Contrast checker → · Palette generator →

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