#21032C#21032C

#21032C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.083 H 315.4°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#21032C
RGBrgb(33, 3, 44)
HSLhsl(284, 87%, 9%)
HSVhsv(284, 93%, 17%)
CMYKcmyk(25%, 93.2%, 0%, 82.7%)
CIE-LABlab(5.15, 22.41, -19.87)
CIE-LCHlch(5.15, 29.95, 318.44°)
OKLaboklab(18.96% 0.0591 -0.0582)
OKLCHoklch(18.96% 0.083 315.4)
XYZxyz(1.1143, 0.5704, 2.4338)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21032C #0E2C03
analogous
#0D032C #21032C #2C0323
triadic
#21032C #2C2103 #032C21
tetradic
#21032C #2C0D03 #0E2C03 #03232C
square
#21032C #2C0D03 #0E2C03 #03232C
split-complementary
#21032C #232C03 #032C0D
monochromatic
#15021D #15021D #21032C #4C0765 #770B9F

Accessibility & contrast

On white

18.85
#21032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#21032C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21032C
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21032C#FFFFFF#000000##FFFFFF
##21032C1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#200B17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #21032c;
/* rgb */ color: rgb(33, 3, 44);
/* oklch */ color: oklch(19.0% 0.083 315.4);
Tailwind
colors: {
  custom: {
    50: '#5e4765',
    500: '#21032c',
    950: '#000000',
  },
}
SCSS
$custom: #21032c;
$custom-light: #5e4765;
$custom-dark: #000000;
JSON
{
  "hex": "#21032c",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 283.902,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1896,
    "c": 0.0829,
    "h": 315.4
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#21032C
secondary
#32701B
accent
#FD2A63
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #21032C

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

Preview Lab → · Contrast checker → · Palette generator →

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