#21001E#21001E

#21001E is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.1% C 0.077 H 332.1°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#21001E
RGBrgb(33, 0, 30)
HSLhsl(305, 100%, 6%)
HSVhsv(305, 100%, 13%)
CMYKcmyk(0%, 100%, 9.1%, 87.1%)
CIE-LABlab(3.77, 19.04, -11.19)
CIE-LCHlch(3.77, 22.09, 329.55°)
OKLaboklab(17.14% 0.0683 -0.0361)
OKLCHoklch(17.14% 0.077 332.1)
XYZxyz(0.8615, 0.4171, 1.2632)
Luminance0.0042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21001E #002103
analogous
#140021 #21001E #21000E
triadic
#21001E #1E2100 #001E21
tetradic
#21001E #211400 #002103 #000E21
square
#21001E #211400 #002103 #000E21
split-complementary
#21001E #0E2100 #002114
monochromatic
#1F001C #1F001C #21001E #5E0056 #9B008D

Accessibility & contrast

On white

19.38
#21001E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#21001E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21001E#FFFFFF#000000##FFFFFF
##21001E1.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)
#000A1F
Deuteranopia (green-blind)
#090F1D
Tritanopia (blue-blind)
#23020D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21001e;
/* rgb */ color: rgb(33, 0, 30);
/* oklch */ color: oklch(17.1% 0.077 332.1);
Tailwind
colors: {
  custom: {
    50: '#5c4659',
    500: '#21001e',
    950: '#000000',
  },
}
SCSS
$custom: #21001e;
$custom-light: #5c4659;
$custom-dark: #000000;
JSON
{
  "hex": "#21001e",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 30
  },
  "hsl": {
    "h": 305.455,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.17142,
    "c": 0.07731,
    "h": 332.1
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#21001E
secondary
#136A1B
accent
#FF3C29
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #21001E

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

Preview Lab → · Contrast checker → · Palette generator →

#21001E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva