#201822#201822

#201822 is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.3% C 0.022 H 319.5°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#201822
RGBrgb(32, 24, 34)
HSLhsl(288, 17%, 11%)
HSVhsv(288, 29%, 13%)
CMYKcmyk(5.9%, 29.4%, 0%, 86.7%)
CIE-LABlab(9.61, 6.40, -5.41)
CIE-LCHlch(9.61, 8.38, 319.80°)
OKLaboklab(22.32% 0.0171 -0.0146)
OKLCHoklch(22.32% 0.022 319.5)
XYZxyz(1.2110, 1.0759, 1.6569)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201822 #1A2218
analogous
#1B1822 #201822 #22181F
triadic
#201822 #222018 #182220
tetradic
#201822 #221B18 #1A2218 #181F22
square
#201822 #221B18 #1A2218 #181F22
split-complementary
#201822 #1F2218 #18221B
monochromatic
#110D12 #110D12 #201822 #423146 #644B6A

Accessibility & contrast

On white

17.28
#201822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#201822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201822
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201822#FFFFFF#000000##FFFFFF
##2018221.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A22
Deuteranopia (green-blind)
#191B22
Tritanopia (blue-blind)
#20191B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #201822;
/* rgb */ color: rgb(32, 24, 34);
/* oklch */ color: oklch(22.3% 0.022 319.5);
Tailwind
colors: {
  custom: {
    50: '#5b545d',
    500: '#201822',
    950: '#000000',
  },
}
SCSS
$custom: #201822;
$custom-light: #5b545d;
$custom-dark: #000000;
JSON
{
  "hex": "#201822",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 288,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22324,
    "c": 0.02248,
    "h": 319.5
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#201822
secondary
#455442
accent
#BA6E7D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201822

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

Preview Lab → · Contrast checker → · Palette generator →

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