#22081E#22081E

#22081E is a very dark, muted purple. Relative luminance 0.006; OKLCH L 19.0% C 0.057 H 333.9°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#22081E
RGBrgb(34, 8, 30)
HSLhsl(309, 62%, 8%)
HSVhsv(309, 76%, 13%)
CMYKcmyk(0%, 76.5%, 11.8%, 86.7%)
CIE-LABlab(5.49, 16.24, -8.59)
CIE-LCHlch(5.49, 18.37, 332.12°)
OKLaboklab(18.98% 0.0509 -0.0249)
OKLCHoklch(18.98% 0.057 333.9)
XYZxyz(0.9809, 0.6076, 1.2937)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22081E #08220C
analogous
#190822 #22081E #220811
triadic
#22081E #1E2208 #081E22
tetradic
#22081E #221908 #08220C #081122
square
#22081E #221908 #08220C #081122
split-complementary
#22081E #112208 #082219
monochromatic
#190616 #190616 #22081E #54144A #851F75

Accessibility & contrast

On white

18.73
#22081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#22081E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22081E
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22081E#FFFFFF#000000##FFFFFF
##22081E1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08101F
Deuteranopia (green-blind)
#10131D
Tritanopia (blue-blind)
#240A11
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #22081e;
/* rgb */ color: rgb(34, 8, 30);
/* oklch */ color: oklch(19.0% 0.057 333.9);
Tailwind
colors: {
  custom: {
    50: '#5d4a59',
    500: '#22081e',
    950: '#000000',
  },
}
SCSS
$custom: #22081e;
$custom-light: #5d4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#22081e",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 309.231,
    "s": 61.905,
    "l": 8.235
  },
  "oklch": {
    "l": 0.1898,
    "c": 0.05666,
    "h": 333.9
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#22081E
secondary
#26602F
accent
#E55C43
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #22081E

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

Preview Lab → · Contrast checker → · Palette generator →

#22081E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva