#220422#220422

#220422 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.070 H 328.0°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#220422
RGBrgb(34, 4, 34)
HSLhsl(300, 79%, 7%)
HSVhsv(300, 88%, 13%)
CMYKcmyk(0%, 88.2%, 0%, 86.7%)
CIE-LABlab(4.90, 19.17, -12.60)
CIE-LCHlch(4.90, 22.94, 326.69°)
OKLaboklab(18.5% 0.0597 -0.0374)
OKLCHoklch(18.5% 0.07 328)
XYZxyz(0.9918, 0.5425, 1.5655)
Luminance0.0054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220422 #042204
analogous
#130422 #220422 #220413
triadic
#220422 #222204 #042222
tetradic
#220422 #221304 #042204 #041322
square
#220422 #221304 #042204 #041322
split-complementary
#220422 #132204 #042213
monochromatic
#1B031B #1B031B #220422 #590A59 #901190

Accessibility & contrast

On white

18.95
#220422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#220422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220422
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220422#FFFFFF#000000##FFFFFF
##2204221.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010E23
Deuteranopia (green-blind)
#0B1221
Tritanopia (blue-blind)
#230711
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #220422;
/* rgb */ color: rgb(34, 4, 34);
/* oklch */ color: oklch(18.5% 0.070 328.0);
Tailwind
colors: {
  custom: {
    50: '#5e485d',
    500: '#220422',
    950: '#000000',
  },
}
SCSS
$custom: #220422;
$custom-light: #5e485d;
$custom-dark: #000000;
JSON
{
  "hex": "#220422",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 300,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18496,
    "c": 0.07043,
    "h": 328
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#220422
secondary
#1D651D
accent
#F53232
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #220422

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

Preview Lab → · Contrast checker → · Palette generator →

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