#220C22#220C22

#220C22 is a very dark, muted purple. Relative luminance 0.007; OKLCH L 20.0% C 0.053 H 327.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#220C22
RGBrgb(34, 12, 34)
HSLhsl(300, 48%, 9%)
HSVhsv(300, 65%, 13%)
CMYKcmyk(0%, 64.7%, 0%, 86.7%)
CIE-LABlab(6.49, 15.46, -10.16)
CIE-LCHlch(6.49, 18.50, 326.70°)
OKLaboklab(19.96% 0.0442 -0.0284)
OKLCHoklch(19.96% 0.053 327.3)
XYZxyz(1.0799, 0.7186, 1.5949)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C22 #0C220C
analogous
#170C22 #220C22 #220C17
triadic
#220C22 #22220C #0C2222
tetradic
#220C22 #22170C #0C220C #0C1722
square
#220C22 #22170C #0C220C #0C1722
split-complementary
#220C22 #17220C #0C2217
monochromatic
#170817 #170817 #220C22 #4F1C4F #7C2C7C

Accessibility & contrast

On white

18.36
#220C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#220C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C22
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C22#FFFFFF#000000##FFFFFF
##220C221.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1323
Deuteranopia (green-blind)
#111521
Tritanopia (blue-blind)
#230E15
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220c22;
/* rgb */ color: rgb(34, 12, 34);
/* oklch */ color: oklch(20.0% 0.053 327.3);
Tailwind
colors: {
  custom: {
    50: '#5e4c5d',
    500: '#220c22',
    950: '#000000',
  },
}
SCSS
$custom: #220c22;
$custom-light: #5e4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#220c22",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 300,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19955,
    "c": 0.05255,
    "h": 327.3
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#220C22
secondary
#2E5C2E
accent
#D75050
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #220C22

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

Preview Lab → · Contrast checker → · Palette generator →

#220C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva