#220122#220122

#220122 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.078 H 328.3°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#220122
RGBrgb(34, 1, 34)
HSLhsl(300, 94%, 7%)
HSVhsv(300, 97%, 13%)
CMYKcmyk(0%, 97.1%, 0%, 86.7%)
CIE-LABlab(4.31, 20.50, -13.50)
CIE-LCHlch(4.31, 24.55, 326.64°)
OKLaboklab(17.89% 0.0667 -0.0412)
OKLCHoklch(17.89% 0.078 328.3)
XYZxyz(0.9593, 0.4774, 1.5547)
Luminance0.0048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220122 #012201
analogous
#120122 #220122 #220112
triadic
#220122 #222201 #012222
tetradic
#220122 #221201 #012201 #011222
square
#220122 #221201 #012201 #011222
split-complementary
#220122 #122201 #012212
monochromatic
#1E011E #1E011E #220122 #5D035D #990499

Accessibility & contrast

On white

19.17
#220122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220122
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220122#FFFFFF#000000##FFFFFF
##2201221.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C23
Deuteranopia (green-blind)
#081121
Tritanopia (blue-blind)
#230510
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #220122;
/* rgb */ color: rgb(34, 1, 34);
/* oklch */ color: oklch(17.9% 0.078 328.3);
Tailwind
colors: {
  custom: {
    50: '#5e465d',
    500: '#220122',
    950: '#000000',
  },
}
SCSS
$custom: #220122;
$custom-light: #5e465d;
$custom-dark: #000000;
JSON
{
  "hex": "#220122",
  "rgb": {
    "r": 34,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 300,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.17891,
    "c": 0.07839,
    "h": 328.3
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#220122
secondary
#166916
accent
#FF2929
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #220122

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

Preview Lab → · Contrast checker → · Palette generator →

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