#200021#200021

#200021 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.2% C 0.079 H 327.1°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#200021
RGBrgb(32, 0, 33)
HSLhsl(298, 100%, 6%)
HSVhsv(298, 100%, 13%)
CMYKcmyk(3%, 100%, 0%, 87.1%)
CIE-LABlab(3.77, 19.40, -13.58)
CIE-LCHlch(3.77, 23.68, 325.01°)
OKLaboklab(17.17% 0.0667 -0.0431)
OKLCHoklch(17.17% 0.079 327.1)
XYZxyz(0.8702, 0.4169, 1.4732)
Luminance0.0042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#200021 #012100
analogous
#100021 #200021 #210012
triadic
#200021 #212000 #002120
tetradic
#200021 #211000 #012100 #001221
square
#200021 #211000 #012100 #001221
split-complementary
#200021 #122100 #002110
monochromatic
#1E001F #1E001F #200021 #5B005E #97009B

Accessibility & contrast

On white

19.38
#200021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#200021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #200021
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##200021#FFFFFF#000000##FFFFFF
##2000211.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A22
Deuteranopia (green-blind)
#060F20
Tritanopia (blue-blind)
#21040F
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #200021;
/* rgb */ color: rgb(32, 0, 33);
/* oklch */ color: oklch(17.2% 0.079 327.1);
Tailwind
colors: {
  custom: {
    50: '#5b465c',
    500: '#200021',
    950: '#000000',
  },
}
SCSS
$custom: #200021;
$custom-light: #5b465c;
$custom-dark: #000000;
JSON
{
  "hex": "#200021",
  "rgb": {
    "r": 32,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 298.182,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.17173,
    "c": 0.07943,
    "h": 327.1
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#200021
secondary
#156A13
accent
#FF292F
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #200021

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

Preview Lab → · Contrast checker → · Palette generator →

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