#21061E#21061E

#21061E is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.061 H 332.3°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#21061E
RGBrgb(33, 6, 30)
HSLhsl(307, 69%, 8%)
HSVhsv(307, 82%, 13%)
CMYKcmyk(0%, 81.8%, 9.1%, 87.1%)
CIE-LABlab(4.94, 16.54, -9.42)
CIE-LCHlch(4.94, 19.03, 330.33°)
OKLaboklab(18.41% 0.0536 -0.0282)
OKLCHoklch(18.41% 0.061 332.3)
XYZxyz(0.9267, 0.5474, 1.2849)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21061E #062109
analogous
#160621 #21061E #210610
triadic
#21061E #1E2106 #061E21
tetradic
#21061E #211606 #062109 #061021
square
#21061E #211606 #062109 #061021
split-complementary
#21061E #102106 #062116
monochromatic
#1A0518 #1A0518 #21061E #550F4D #89197C

Accessibility & contrast

On white

18.93
#21061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21061E
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21061E#FFFFFF#000000##FFFFFF
##21061E1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E1F
Deuteranopia (green-blind)
#0D121D
Tritanopia (blue-blind)
#230810
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #21061e;
/* rgb */ color: rgb(33, 6, 30);
/* oklch */ color: oklch(18.4% 0.061 332.3);
Tailwind
colors: {
  custom: {
    50: '#5c4959',
    500: '#21061e',
    950: '#000000',
  },
}
SCSS
$custom: #21061e;
$custom-light: #5c4959;
$custom-dark: #000000;
JSON
{
  "hex": "#21061e",
  "rgb": {
    "r": 33,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 306.667,
    "s": 69.231,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18411,
    "c": 0.06055,
    "h": 332.3
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#21061E
secondary
#226129
accent
#EC4F3C
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #21061E

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

Preview Lab → · Contrast checker → · Palette generator →

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