#21032F#21032F

#21032F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.086 H 312.5°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#21032F
RGBrgb(33, 3, 47)
HSLhsl(281, 88%, 10%)
HSVhsv(281, 94%, 18%)
CMYKcmyk(29.8%, 93.6%, 0%, 81.6%)
CIE-LABlab(5.36, 23.46, -21.79)
CIE-LCHlch(5.36, 32.02, 317.12°)
OKLaboklab(19.24% 0.0582 -0.0635)
OKLCHoklch(19.24% 0.086 312.5)
XYZxyz(1.1728, 0.5937, 2.7416)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21032F #112F03
analogous
#0B032F #21032F #2F0327
triadic
#21032F #2F2103 #032F21
tetradic
#21032F #2F0B03 #112F03 #03272F
square
#21032F #2F0B03 #112F03 #03272F
split-complementary
#21032F #272F03 #032F0B
monochromatic
#14021D #14021D #21032F #490769 #720AA2

Accessibility & contrast

On white

18.77
#21032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21032F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21032F#FFFFFF#000000##FFFFFF
##21032F1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#1F0D18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #21032f;
/* rgb */ color: rgb(33, 3, 47);
/* oklch */ color: oklch(19.2% 0.086 312.5);
Tailwind
colors: {
  custom: {
    50: '#5e4768',
    500: '#21032f',
    950: '#000000',
  },
}
SCSS
$custom: #21032f;
$custom-light: #5e4768;
$custom-dark: #000000;
JSON
{
  "hex": "#21032f",
  "rgb": {
    "r": 33,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 280.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19243,
    "c": 0.08614,
    "h": 312.5
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#21032F
secondary
#37731B
accent
#FE2A6D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #21032F

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

Preview Lab → · Contrast checker → · Palette generator →

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