#21061D#21061D

#21061D is a very dark, muted purple. Relative luminance 0.005; OKLCH L 18.3% C 0.060 H 333.9°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#21061D
RGBrgb(33, 6, 29)
HSLhsl(309, 69%, 8%)
HSVhsv(309, 82%, 13%)
CMYKcmyk(0%, 81.8%, 12.1%, 87.1%)
CIE-LABlab(4.90, 16.25, -8.70)
CIE-LCHlch(4.90, 18.43, 331.82°)
OKLaboklab(18.35% 0.0534 -0.0262)
OKLCHoklch(18.35% 0.06 333.9)
XYZxyz(0.9141, 0.5424, 1.2187)
Luminance0.0054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21061D #06210A
analogous
#170621 #21061D #21060F
triadic
#21061D #1D2106 #061D21
tetradic
#21061D #211706 #06210A #060F21
square
#21061D #211706 #06210A #060F21
split-complementary
#21061D #0F2106 #062117
monochromatic
#1A0517 #1A0517 #21061D #550F4B #891978

Accessibility & contrast

On white

18.95
#21061D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#21061D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21061D
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21061D#FFFFFF#000000##FFFFFF
##21061D1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1E
Deuteranopia (green-blind)
#0E121C
Tritanopia (blue-blind)
#230810
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #21061d;
/* rgb */ color: rgb(33, 6, 29);
/* oklch */ color: oklch(18.3% 0.060 333.9);
Tailwind
colors: {
  custom: {
    50: '#5c4958',
    500: '#21061d',
    950: '#000000',
  },
}
SCSS
$custom: #21061d;
$custom-light: #5c4958;
$custom-dark: #000000;
JSON
{
  "hex": "#21061d",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 29
  },
  "hsl": {
    "h": 308.889,
    "s": 69.231,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18345,
    "c": 0.05952,
    "h": 333.9
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#21061D
secondary
#22612B
accent
#EC563C
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #21061D

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

Preview Lab → · Contrast checker → · Palette generator →

#21061D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva