#22072D#22072D

#22072D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.076 H 314.5°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#22072D
RGBrgb(34, 7, 45)
HSLhsl(283, 73%, 10%)
HSVhsv(283, 84%, 18%)
CMYKcmyk(24.4%, 84.4%, 0%, 82.4%)
CIE-LABlab(6.16, 21.22, -19.02)
CIE-LCHlch(6.16, 28.50, 318.13°)
OKLaboklab(19.92% 0.0534 -0.0544)
OKLCHoklch(19.92% 0.076 314.5)
XYZxyz(1.2092, 0.6815, 2.5500)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22072D #122D07
analogous
#0F072D #22072D #2D0725
triadic
#22072D #2D2207 #072D22
tetradic
#22072D #2D0F07 #122D07 #07252D
square
#22072D #2D0F07 #122D07 #07252D
split-complementary
#22072D #252D07 #072D0F
monochromatic
#14041A #14041A #22072D #4A0F62 #721797

Accessibility & contrast

On white

18.48
#22072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#22072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22072D
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22072D#FFFFFF#000000##FFFFFF
##22072D1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#06142C
Tritanopia (blue-blind)
#210F19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22072d;
/* rgb */ color: rgb(34, 7, 45);
/* oklch */ color: oklch(19.9% 0.076 314.5);
Tailwind
colors: {
  custom: {
    50: '#5e4966',
    500: '#22072d',
    950: '#000000',
  },
}
SCSS
$custom: #22072d;
$custom-light: #5e4966;
$custom-dark: #000000;
JSON
{
  "hex": "#22072d",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 282.632,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19924,
    "c": 0.07618,
    "h": 314.5
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#22072D
secondary
#386D23
accent
#F0386D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #22072D

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

Preview Lab → · Contrast checker → · Palette generator →

#22072D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva