#220E1F#220E1F

#220E1F is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.2% C 0.044 H 332.9°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#220E1F
RGBrgb(34, 14, 31)
HSLhsl(309, 42%, 9%)
HSVhsv(309, 59%, 13%)
CMYKcmyk(0%, 58.8%, 8.8%, 86.7%)
CIE-LABlab(6.80, 13.56, -7.38)
CIE-LCHlch(6.80, 15.44, 331.46°)
OKLaboklab(20.16% 0.0396 -0.0203)
OKLCHoklch(20.16% 0.044 332.9)
XYZxyz(1.0640, 0.7531, 1.3854)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220E1F #0E2211
analogous
#1B0E22 #220E1F #220E15
triadic
#220E1F #1F220E #0E1F22
tetradic
#220E1F #221B0E #0E2211 #0E1522
square
#220E1F #221B0E #0E2211 #0E1522
split-complementary
#220E1F #15220E #0E221B
monochromatic
#160914 #160914 #220E1F #4D2047 #79326E

Accessibility & contrast

On white

18.25
#220E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220E1F
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220E1F#FFFFFF#000000##FFFFFF
##220E1F1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1320
Deuteranopia (green-blind)
#13161E
Tritanopia (blue-blind)
#240F15
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220e1f;
/* rgb */ color: rgb(34, 14, 31);
/* oklch */ color: oklch(20.2% 0.044 332.9);
Tailwind
colors: {
  custom: {
    50: '#5d4d5a',
    500: '#220e1f',
    950: '#000000',
  },
}
SCSS
$custom: #220e1f;
$custom-light: #5d4d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#220e1f",
  "rgb": {
    "r": 34,
    "g": 14,
    "b": 31
  },
  "hsl": {
    "h": 309,
    "s": 41.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20163,
    "c": 0.04446,
    "h": 332.9
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#220E1F
secondary
#325A38
accent
#D16956
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #220E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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