#21001C#21001C

#21001C is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.0% C 0.076 H 334.8°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#21001C
RGBrgb(33, 0, 28)
HSLhsl(309, 100%, 6%)
HSVhsv(309, 100%, 13%)
CMYKcmyk(0%, 100%, 15.2%, 87.1%)
CIE-LABlab(3.68, 18.42, -9.73)
CIE-LCHlch(3.68, 20.83, 332.15°)
OKLaboklab(16.99% 0.0684 -0.0322)
OKLCHoklch(16.99% 0.076 334.8)
XYZxyz(0.8368, 0.4073, 1.1329)
Luminance0.0041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21001C #002105
analogous
#160021 #21001C #21000C
triadic
#21001C #1C2100 #001C21
tetradic
#21001C #211600 #002105 #000C21
square
#21001C #211600 #002105 #000C21
split-complementary
#21001C #0C2100 #002116
monochromatic
#1F001A #1F001A #21001C #5E0050 #9B0084

Accessibility & contrast

On white

19.42
#21001C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21001C
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21001C#FFFFFF#000000##FFFFFF
##21001C1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1D
Deuteranopia (green-blind)
#0A0F1B
Tritanopia (blue-blind)
#23020C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #21001c;
/* rgb */ color: rgb(33, 0, 28);
/* oklch */ color: oklch(17.0% 0.076 334.8);
Tailwind
colors: {
  custom: {
    50: '#5c4658',
    500: '#21001c',
    950: '#000000',
  },
}
SCSS
$custom: #21001c;
$custom-light: #5c4658;
$custom-dark: #000000;
JSON
{
  "hex": "#21001c",
  "rgb": {
    "r": 33,
    "g": 0,
    "b": 28
  },
  "hsl": {
    "h": 309.091,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.1699,
    "c": 0.07562,
    "h": 334.8
  },
  "luminance": 0.00407
}

Semantic roles & 50–950 ramp

primary
#21001C
secondary
#136A20
accent
#FF4929
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #21001C

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

Preview Lab → · Contrast checker → · Palette generator →

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