#22041E#22041E

#22041E is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.066 H 333.6°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#22041E
RGBrgb(34, 4, 30)
HSLhsl(308, 79%, 7%)
HSVhsv(308, 88%, 13%)
CMYKcmyk(0%, 88.2%, 11.8%, 86.7%)
CIE-LABlab(4.70, 17.99, -9.77)
CIE-LCHlch(4.70, 20.47, 331.49°)
OKLaboklab(18.21% 0.0595 -0.0296)
OKLCHoklch(18.21% 0.066 333.6)
XYZxyz(0.9375, 0.5207, 1.2792)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22041E #042208
analogous
#170422 #22041E #22040F
triadic
#22041E #1E2204 #041E22
tetradic
#22041E #221704 #042208 #040F22
square
#22041E #221704 #042208 #040F22
split-complementary
#22041E #0F2204 #042217
monochromatic
#1B0318 #1B0318 #22041E #590A4E #90117F

Accessibility & contrast

On white

19.02
#22041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22041E
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22041E#FFFFFF#000000##FFFFFF
##22041E1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030D1F
Deuteranopia (green-blind)
#0D121D
Tritanopia (blue-blind)
#24060F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #22041e;
/* rgb */ color: rgb(34, 4, 30);
/* oklch */ color: oklch(18.2% 0.066 333.6);
Tailwind
colors: {
  custom: {
    50: '#5d4859',
    500: '#22041e',
    950: '#000000',
  },
}
SCSS
$custom: #22041e;
$custom-light: #5d4859;
$custom-dark: #000000;
JSON
{
  "hex": "#22041e",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 308,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18208,
    "c": 0.06643,
    "h": 333.6
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#22041E
secondary
#1D6527
accent
#F54C32
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #22041E

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

Preview Lab → · Contrast checker → · Palette generator →

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