#21091E#21091E

#21091E is a very dark, muted purple. Relative luminance 0.006; OKLCH L 19.0% C 0.053 H 332.5°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#21091E
RGBrgb(33, 9, 30)
HSLhsl(308, 57%, 8%)
HSVhsv(308, 73%, 13%)
CMYKcmyk(0%, 72.7%, 9.1%, 87.1%)
CIE-LABlab(5.53, 15.24, -8.54)
CIE-LCHlch(5.53, 17.47, 330.74°)
OKLaboklab(18.98% 0.0474 -0.0247)
OKLCHoklch(18.98% 0.054 332.5)
XYZxyz(0.9592, 0.6125, 1.2957)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21091E #09210C
analogous
#180921 #21091E #210912
triadic
#21091E #1E2109 #091E21
tetradic
#21091E #211809 #09210C #091221
square
#21091E #211809 #09210C #091221
split-complementary
#21091E #122109 #092118
monochromatic
#180716 #180716 #21091E #51164A #812375

Accessibility & contrast

On white

18.71
#21091E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#21091E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21091E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21091E#FFFFFF#000000##FFFFFF
##21091E1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08101F
Deuteranopia (green-blind)
#10131D
Tritanopia (blue-blind)
#230B12
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #21091e;
/* rgb */ color: rgb(33, 9, 30);
/* oklch */ color: oklch(19.0% 0.053 332.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a59',
    500: '#21091e',
    950: '#000000',
  },
}
SCSS
$custom: #21091e;
$custom-light: #5c4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#21091e",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 30
  },
  "hsl": {
    "h": 307.5,
    "s": 57.143,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18983,
    "c": 0.0535,
    "h": 332.5
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#21091E
secondary
#285E2F
accent
#E05B47
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #21091E

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

Preview Lab → · Contrast checker → · Palette generator →

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