#220221#220221

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

Color values

HEX#220221
RGBrgb(34, 2, 33)
HSLhsl(302, 89%, 7%)
HSVhsv(302, 94%, 13%)
CMYKcmyk(0%, 94.1%, 2.9%, 86.7%)
CIE-LABlab(4.46, 19.75, -12.50)
CIE-LCHlch(4.46, 23.37, 327.68°)
OKLaboklab(18.02% 0.0643 -0.038)
OKLCHoklch(18.02% 0.075 329.4)
XYZxyz(0.9559, 0.4934, 1.4834)
Luminance0.0049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220221 #022203
analogous
#130222 #220221 #220211
triadic
#220221 #212202 #022122
tetradic
#220221 #221302 #022203 #021122
square
#220221 #221302 #022203 #021122
split-complementary
#220221 #112202 #022213
monochromatic
#1D021C #1D021C #220221 #5C0559 #960991

Accessibility & contrast

On white

19.12
#220221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220221
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220221#FFFFFF#000000##FFFFFF
##2202211.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C22
Deuteranopia (green-blind)
#0A1120
Tritanopia (blue-blind)
#240510
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #220221;
/* rgb */ color: rgb(34, 2, 33);
/* oklch */ color: oklch(18.0% 0.075 329.4);
Tailwind
colors: {
  custom: {
    50: '#5d475c',
    500: '#220221',
    950: '#000000',
  },
}
SCSS
$custom: #220221;
$custom-light: #5d475c;
$custom-dark: #000000;
JSON
{
  "hex": "#220221",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 301.875,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1802,
    "c": 0.07469,
    "h": 329.4
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#220221
secondary
#18681B
accent
#FF2F29
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #220221

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

Preview Lab → · Contrast checker → · Palette generator →

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