#21011C#21011C

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

Color values

HEX#21011C
RGBrgb(33, 1, 28)
HSLhsl(309, 94%, 7%)
HSVhsv(309, 97%, 13%)
CMYKcmyk(0%, 97%, 15.2%, 87.1%)
CIE-LABlab(3.88, 18.02, -9.44)
CIE-LCHlch(3.88, 20.34, 332.35°)
OKLaboklab(17.22% 0.0656 -0.0307)
OKLCHoklch(17.22% 0.072 334.9)
XYZxyz(0.8477, 0.4290, 1.1365)
Luminance0.0043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21011C #012106
analogous
#160121 #21011C #21010C
triadic
#21011C #1C2101 #011C21
tetradic
#21011C #211601 #012106 #010C21
square
#21011C #211601 #012106 #010C21
split-complementary
#21011C #0C2101 #012116
monochromatic
#1E0119 #1E0119 #21011C #5C034E #980581

Accessibility & contrast

On white

19.34
#21011C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#21011C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21011C
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21011C#FFFFFF#000000##FFFFFF
##21011C1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010A1D
Deuteranopia (green-blind)
#0B101B
Tritanopia (blue-blind)
#23030C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #21011c;
/* rgb */ color: rgb(33, 1, 28);
/* oklch */ color: oklch(17.2% 0.072 334.9);
Tailwind
colors: {
  custom: {
    50: '#5c4658',
    500: '#21011c',
    950: '#000000',
  },
}
SCSS
$custom: #21011c;
$custom-light: #5c4658;
$custom-dark: #000000;
JSON
{
  "hex": "#21011c",
  "rgb": {
    "r": 33,
    "g": 1,
    "b": 28
  },
  "hsl": {
    "h": 309.375,
    "s": 94.118,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17219,
    "c": 0.07245,
    "h": 334.9
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#21011C
secondary
#156822
accent
#FF4A29
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #21011C

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

Preview Lab → · Contrast checker → · Palette generator →

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