#22031E#22031E

#22031E is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.0% C 0.069 H 333.5°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#22031E
RGBrgb(34, 3, 30)
HSLhsl(308, 84%, 7%)
HSVhsv(308, 91%, 13%)
CMYKcmyk(0%, 91.2%, 11.8%, 86.7%)
CIE-LABlab(4.51, 18.42, -10.07)
CIE-LCHlch(4.51, 20.99, 331.34°)
OKLaboklab(18% 0.0619 -0.0308)
OKLCHoklch(18% 0.069 333.5)
XYZxyz(0.9266, 0.4990, 1.2756)
Luminance0.0050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22031E #032207
analogous
#170322 #22031E #22030F
triadic
#22031E #1E2203 #031E22
tetradic
#22031E #221703 #032207 #030F22
square
#22031E #221703 #032207 #030F22
split-complementary
#22031E #0F2203 #032217
monochromatic
#1C0219 #1C0219 #22031E #5A0850 #920D81

Accessibility & contrast

On white

19.09
#22031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#22031E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22031E
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22031E#FFFFFF#000000##FFFFFF
##22031E1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020C1F
Deuteranopia (green-blind)
#0C111D
Tritanopia (blue-blind)
#24050F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #22031e;
/* rgb */ color: rgb(34, 3, 30);
/* oklch */ color: oklch(18.0% 0.069 333.5);
Tailwind
colors: {
  custom: {
    50: '#5d4759',
    500: '#22031e',
    950: '#000000',
  },
}
SCSS
$custom: #22031e;
$custom-light: #5d4759;
$custom-dark: #000000;
JSON
{
  "hex": "#22031e",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 307.742,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18004,
    "c": 0.06912,
    "h": 333.5
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#22031E
secondary
#1B6624
accent
#FA482E
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #22031E

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

Preview Lab → · Contrast checker → · Palette generator →

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