#22071E#22071E

#22071E is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.8% C 0.059 H 333.8°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#22071E
RGBrgb(34, 7, 30)
HSLhsl(309, 66%, 8%)
HSVhsv(309, 79%, 13%)
CMYKcmyk(0%, 79.4%, 11.8%, 86.7%)
CIE-LABlab(5.29, 16.68, -8.88)
CIE-LCHlch(5.29, 18.90, 331.96°)
OKLaboklab(18.79% 0.0529 -0.026)
OKLCHoklch(18.79% 0.059 333.8)
XYZxyz(0.9700, 0.5859, 1.2900)
Luminance0.0059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22071E #07220B
analogous
#180722 #22071E #220710
triadic
#22071E #1E2207 #071E22
tetradic
#22071E #221807 #07220B #071022
square
#22071E #221807 #07220B #071022
split-complementary
#22071E #102207 #072218
monochromatic
#190516 #190516 #22071E #55114B #881C78

Accessibility & contrast

On white

18.80
#22071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22071E
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22071E#FFFFFF#000000##FFFFFF
##22071E1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1F
Deuteranopia (green-blind)
#0F131D
Tritanopia (blue-blind)
#240911
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #22071e;
/* rgb */ color: rgb(34, 7, 30);
/* oklch */ color: oklch(18.8% 0.059 333.8);
Tailwind
colors: {
  custom: {
    50: '#5d4959',
    500: '#22071e',
    950: '#000000',
  },
}
SCSS
$custom: #22071e;
$custom-light: #5d4959;
$custom-dark: #000000;
JSON
{
  "hex": "#22071e",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 308.889,
    "s": 65.854,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18793,
    "c": 0.05897,
    "h": 333.8
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#22071E
secondary
#24612D
accent
#E9583F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #22071E

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

Preview Lab → · Contrast checker → · Palette generator →

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