#22082A#22082A

#22082A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.8% C 0.071 H 317.4°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#22082A
RGBrgb(34, 8, 42)
HSLhsl(286, 68%, 10%)
HSVhsv(286, 81%, 16%)
CMYKcmyk(19%, 81%, 0%, 83.5%)
CIE-LABlab(6.15, 19.78, -16.77)
CIE-LCHlch(6.15, 25.94, 319.71°)
OKLaboklab(19.84% 0.0519 -0.0478)
OKLCHoklch(19.84% 0.071 317.4)
XYZxyz(1.1644, 0.6810, 2.2601)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22082A #102A08
analogous
#11082A #22082A #2A0821
triadic
#22082A #2A2208 #082A22
tetradic
#22082A #2A1108 #102A08 #08212A
square
#22082A #2A1108 #102A08 #08212A
split-complementary
#22082A #212A08 #082A11
monochromatic
#15051A #15051A #22082A #4C125D #751C91

Accessibility & contrast

On white

18.48
#22082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#22082A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22082A
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22082A#FFFFFF#000000##FFFFFF
##22082A1.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)
#01122B
Deuteranopia (green-blind)
#091429
Tritanopia (blue-blind)
#220E17
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22082a;
/* rgb */ color: rgb(34, 8, 42);
/* oklch */ color: oklch(19.8% 0.071 317.4);
Tailwind
colors: {
  custom: {
    50: '#5e4a63',
    500: '#22082a',
    950: '#000000',
  },
}
SCSS
$custom: #22082a;
$custom-light: #5e4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#22082a",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 285.882,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19842,
    "c": 0.07057,
    "h": 317.4
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#22082A
secondary
#356925
accent
#EB3D66
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #22082A

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

Preview Lab → · Contrast checker → · Palette generator →

#22082A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva