#220B22#220B22

#220B22 is a very dark, muted purple. Relative luminance 0.007; OKLCH L 19.8% C 0.055 H 327.4°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#220B22
RGBrgb(34, 11, 34)
HSLhsl(300, 51%, 9%)
HSVhsv(300, 68%, 13%)
CMYKcmyk(0%, 67.6%, 0%, 86.7%)
CIE-LABlab(6.28, 15.97, -10.48)
CIE-LCHlch(6.28, 19.10, 326.71°)
OKLaboklab(19.77% 0.0461 -0.0295)
OKLCHoklch(19.77% 0.055 327.4)
XYZxyz(1.0681, 0.6950, 1.5909)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B22 #0B220B
analogous
#170B22 #220B22 #220B17
triadic
#220B22 #22220B #0B2222
tetradic
#220B22 #22170B #0B220B #0B1722
square
#220B22 #22170B #0B220B #0B1722
split-complementary
#220B22 #17220B #0B2217
monochromatic
#170717 #170717 #220B22 #501A50 #7E297E

Accessibility & contrast

On white

18.44
#220B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220B22
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B22#FFFFFF#000000##FFFFFF
##220B221.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#101521
Tritanopia (blue-blind)
#230E15
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #220b22;
/* rgb */ color: rgb(34, 11, 34);
/* oklch */ color: oklch(19.8% 0.055 327.4);
Tailwind
colors: {
  custom: {
    50: '#5e4b5d',
    500: '#220b22',
    950: '#000000',
  },
}
SCSS
$custom: #220b22;
$custom-light: #5e4b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#220b22",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 34
  },
  "hsl": {
    "h": 300,
    "s": 51.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19773,
    "c": 0.0547,
    "h": 327.4
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#220B22
secondary
#2C5D2C
accent
#DB4D4D
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040104
muted
#797779

Preview Lab

Preview with #220B22

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

Preview Lab → · Contrast checker → · Palette generator →

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