#210220#210220

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

Color values

HEX#210220
RGBrgb(33, 2, 32)
HSLhsl(302, 89%, 7%)
HSVhsv(302, 94%, 13%)
CMYKcmyk(0%, 93.9%, 3%, 87.1%)
CIE-LABlab(4.26, 18.85, -12.03)
CIE-LCHlch(4.26, 22.36, 327.44°)
OKLaboklab(17.74% 0.063 -0.0372)
OKLCHoklch(17.74% 0.073 329.4)
XYZxyz(0.9096, 0.4711, 1.4092)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210220 #022103
analogous
#130221 #210220 #210211
triadic
#210220 #202102 #022021
tetradic
#210220 #211302 #022103 #021121
square
#210220 #211302 #022103 #021121
split-complementary
#210220 #112102 #022113
monochromatic
#1D021C #1D021C #210220 #5B0558 #940990

Accessibility & contrast

On white

19.19
#210220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#210220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210220
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210220#FFFFFF#000000##FFFFFF
##2102201.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C21
Deuteranopia (green-blind)
#09101F
Tritanopia (blue-blind)
#23050F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #210220;
/* rgb */ color: rgb(33, 2, 32);
/* oklch */ color: oklch(17.7% 0.073 329.4);
Tailwind
colors: {
  custom: {
    50: '#5c475b',
    500: '#210220',
    950: '#000000',
  },
}
SCSS
$custom: #210220;
$custom-light: #5c475b;
$custom-dark: #000000;
JSON
{
  "hex": "#210220",
  "rgb": {
    "r": 33,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 301.935,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17738,
    "c": 0.07314,
    "h": 329.4
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#210220
secondary
#18671B
accent
#FF3029
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #210220

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

Preview Lab → · Contrast checker → · Palette generator →

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