#201724#201724

#201724 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.2% C 0.028 H 315.2°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#201724
RGBrgb(32, 23, 36)
HSLhsl(282, 22%, 12%)
HSVhsv(282, 36%, 14%)
CMYKcmyk(11.1%, 36.1%, 0%, 85.9%)
CIE-LABlab(9.38, 7.69, -7.25)
CIE-LCHlch(9.38, 10.57, 316.67°)
OKLaboklab(22.18% 0.0199 -0.0198)
OKLCHoklch(22.18% 0.028 315.2)
XYZxyz(1.2204, 1.0473, 1.8066)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201724 #1B2417
analogous
#1A1724 #201724 #241722
triadic
#201724 #242017 #172420
tetradic
#201724 #241A17 #1B2417 #172224
square
#201724 #241A17 #1B2417 #172224
split-complementary
#201724 #222417 #17241A
monochromatic
#110C13 #110C13 #201724 #412F49 #62476F

Accessibility & contrast

On white

17.36
#201724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201724
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201724#FFFFFF#000000##FFFFFF
##2017241.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151A25
Deuteranopia (green-blind)
#171B24
Tritanopia (blue-blind)
#20191C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #201724;
/* rgb */ color: rgb(32, 23, 36);
/* oklch */ color: oklch(22.2% 0.028 315.2);
Tailwind
colors: {
  custom: {
    50: '#5b535e',
    500: '#201724',
    950: '#000000',
  },
}
SCSS
$custom: #201724;
$custom-light: #5b535e;
$custom-dark: #000000;
JSON
{
  "hex": "#201724",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 36
  },
  "hsl": {
    "h": 281.538,
    "s": 22.034,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2218,
    "c": 0.02807,
    "h": 315.2
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#201724
secondary
#475740
accent
#BF6983
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040204
muted
#797879

Preview Lab

Preview with #201724

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

Preview Lab → · Contrast checker → · Palette generator →

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