#21032D#21032D

#21032D is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.084 H 314.4°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#21032D
RGBrgb(33, 3, 45)
HSLhsl(283, 88%, 9%)
HSVhsv(283, 93%, 18%)
CMYKcmyk(26.7%, 93.3%, 0%, 82.4%)
CIE-LABlab(5.22, 22.76, -20.51)
CIE-LCHlch(5.22, 30.64, 317.97°)
OKLaboklab(19.05% 0.0588 -0.06)
OKLCHoklch(19.05% 0.084 314.4)
XYZxyz(1.1333, 0.5780, 2.5340)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21032D #0F2D03
analogous
#0C032D #21032D #2D0324
triadic
#21032D #2D2103 #032D21
tetradic
#21032D #2D0C03 #0F2D03 #03242D
square
#21032D #2D0C03 #0F2D03 #03242D
split-complementary
#21032D #242D03 #032D0C
monochromatic
#15021D #15021D #21032D #4B0766 #750BA0

Accessibility & contrast

On white

18.82
#21032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#21032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21032D
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21032D#FFFFFF#000000##FFFFFF
##21032D1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#01122C
Tritanopia (blue-blind)
#200C17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #21032d;
/* rgb */ color: rgb(33, 3, 45);
/* oklch */ color: oklch(19.1% 0.084 314.4);
Tailwind
colors: {
  custom: {
    50: '#5e4766',
    500: '#21032d',
    950: '#000000',
  },
}
SCSS
$custom: #21032d;
$custom-light: #5e4766;
$custom-dark: #000000;
JSON
{
  "hex": "#21032d",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 282.857,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19053,
    "c": 0.08398,
    "h": 314.4
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#21032D
secondary
#34711B
accent
#FE2A67
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #21032D

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

Preview Lab → · Contrast checker → · Palette generator →

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