#220822#220822

#220822 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.061 H 327.6°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#220822
RGBrgb(34, 8, 34)
HSLhsl(300, 62%, 8%)
HSVhsv(300, 76%, 13%)
CMYKcmyk(0%, 76.5%, 0%, 86.7%)
CIE-LABlab(5.68, 17.36, -11.40)
CIE-LCHlch(5.68, 20.77, 326.73°)
OKLaboklab(19.24% 0.0516 -0.0327)
OKLCHoklch(19.24% 0.061 327.6)
XYZxyz(1.0352, 0.6293, 1.5800)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220822 #082208
analogous
#150822 #220822 #220815
triadic
#220822 #222208 #082222
tetradic
#220822 #221508 #082208 #081522
square
#220822 #221508 #082208 #081522
split-complementary
#220822 #152208 #082215
monochromatic
#190619 #190619 #220822 #541454 #851F85

Accessibility & contrast

On white

18.65
#220822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220822
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220822#FFFFFF#000000##FFFFFF
##2208221.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061023
Deuteranopia (green-blind)
#0E1421
Tritanopia (blue-blind)
#230B13
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220822;
/* rgb */ color: rgb(34, 8, 34);
/* oklch */ color: oklch(19.2% 0.061 327.6);
Tailwind
colors: {
  custom: {
    50: '#5e4a5d',
    500: '#220822',
    950: '#000000',
  },
}
SCSS
$custom: #220822;
$custom-light: #5e4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#220822",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 300,
    "s": 61.905,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19244,
    "c": 0.06105,
    "h": 327.6
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#220822
secondary
#266026
accent
#E54343
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #220822

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

Preview Lab → · Contrast checker → · Palette generator →

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