#22001E#22001E

#22001E is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.4% C 0.078 H 333.3°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#22001E
RGBrgb(34, 0, 30)
HSLhsl(307, 100%, 7%)
HSVhsv(307, 100%, 13%)
CMYKcmyk(0%, 100%, 11.8%, 86.7%)
CIE-LABlab(3.92, 19.69, -10.95)
CIE-LCHlch(3.92, 22.53, 330.91°)
OKLaboklab(17.36% 0.0696 -0.0349)
OKLCHoklch(17.36% 0.078 333.3)
XYZxyz(0.8940, 0.4339, 1.2647)
Luminance0.0043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22001E #002204
analogous
#150022 #22001E #22000D
triadic
#22001E #1E2200 #001E22
tetradic
#22001E #221500 #002204 #000D22
square
#22001E #221500 #002204 #000D22
split-complementary
#22001E #0D2200 #002215
monochromatic
#1F001B #1F001B #22001E #5F0054 #9C008A

Accessibility & contrast

On white

19.32
#22001E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#22001E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22001E
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22001E#FFFFFF#000000##FFFFFF
##22001E1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1F
Deuteranopia (green-blind)
#0A101D
Tritanopia (blue-blind)
#24020D
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #22001e;
/* rgb */ color: rgb(34, 0, 30);
/* oklch */ color: oklch(17.4% 0.078 333.3);
Tailwind
colors: {
  custom: {
    50: '#5d4659',
    500: '#22001e',
    950: '#000000',
  },
}
SCSS
$custom: #22001e;
$custom-light: #5d4659;
$custom-dark: #000000;
JSON
{
  "hex": "#22001e",
  "rgb": {
    "r": 34,
    "g": 0,
    "b": 30
  },
  "hsl": {
    "h": 307.059,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.17361,
    "c": 0.07783,
    "h": 333.3
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#22001E
secondary
#136B1D
accent
#FF4229
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #22001E

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

Preview Lab → · Contrast checker → · Palette generator →

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