#220321#220321

#220321 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.072 H 329.4°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#220321
RGBrgb(34, 3, 33)
HSLhsl(302, 84%, 7%)
HSVhsv(302, 91%, 13%)
CMYKcmyk(0%, 91.2%, 2.9%, 86.7%)
CIE-LABlab(4.65, 19.31, -12.20)
CIE-LCHlch(4.65, 22.84, 327.72°)
OKLaboklab(18.22% 0.062 -0.0367)
OKLCHoklch(18.22% 0.072 329.4)
XYZxyz(0.9668, 0.5151, 1.4871)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220321 #032204
analogous
#140322 #220321 #220312
triadic
#220321 #212203 #032122
tetradic
#220321 #221403 #032204 #031222
square
#220321 #221403 #032204 #031222
split-complementary
#220321 #122203 #032214
monochromatic
#1C021B #1C021B #220321 #5A0858 #920D8E

Accessibility & contrast

On white

19.04
#220321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#220321 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220321
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220321#FFFFFF#000000##FFFFFF
##2203211.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010D22
Deuteranopia (green-blind)
#0B1120
Tritanopia (blue-blind)
#240610
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #220321;
/* rgb */ color: rgb(34, 3, 33);
/* oklch */ color: oklch(18.2% 0.072 329.4);
Tailwind
colors: {
  custom: {
    50: '#5e475c',
    500: '#220321',
    950: '#000000',
  },
}
SCSS
$custom: #220321;
$custom-light: #5e475c;
$custom-dark: #000000;
JSON
{
  "hex": "#220321",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 301.935,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18223,
    "c": 0.072,
    "h": 329.4
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#220321
secondary
#1B661D
accent
#FA342E
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #220321

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

Preview Lab → · Contrast checker → · Palette generator →

#220321 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva