#201720#201720

#201720 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.0% C 0.022 H 326.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#201720
RGBrgb(32, 23, 32)
HSLhsl(300, 16%, 11%)
HSVhsv(300, 28%, 13%)
CMYKcmyk(0%, 28.1%, 0%, 87.5%)
CIE-LABlab(9.19, 6.62, -4.54)
CIE-LCHlch(9.19, 8.03, 325.57°)
OKLaboklab(21.97% 0.0183 -0.0122)
OKLCHoklch(21.97% 0.022 326.3)
XYZxyz(1.1627, 1.0242, 1.5027)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201720 #172017
analogous
#1B1720 #201720 #20171B
triadic
#201720 #202017 #172020
tetradic
#201720 #201B17 #172017 #171B20
square
#201720 #201B17 #172017 #171B20
split-complementary
#201720 #1B2017 #17201B
monochromatic
#120D12 #120D12 #201720 #443144 #674A67

Accessibility & contrast

On white

17.43
#201720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201720
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201720#FFFFFF#000000##FFFFFF
##2017201.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161920
Deuteranopia (green-blind)
#181A20
Tritanopia (blue-blind)
#21181A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201720;
/* rgb */ color: rgb(32, 23, 32);
/* oklch */ color: oklch(22.0% 0.022 326.3);
Tailwind
colors: {
  custom: {
    50: '#5b535b',
    500: '#201720',
    950: '#000000',
  },
}
SCSS
$custom: #201720;
$custom-light: #5b535b;
$custom-dark: #000000;
JSON
{
  "hex": "#201720",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 300,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21974,
    "c": 0.02197,
    "h": 326.3
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#201720
secondary
#415241
accent
#B96F6F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201720

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

Preview Lab → · Contrast checker → · Palette generator →

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