#22082C#22082C

#22082C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.073 H 315.2°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#22082C
RGBrgb(34, 8, 44)
HSLhsl(283, 69%, 10%)
HSVhsv(283, 82%, 17%)
CMYKcmyk(22.7%, 81.8%, 0%, 82.7%)
CIE-LABlab(6.28, 20.41, -18.07)
CIE-LCHlch(6.28, 27.26, 318.48°)
OKLaboklab(20.01% 0.0518 -0.0515)
OKLCHoklch(20.01% 0.073 315.2)
XYZxyz(1.2011, 0.6956, 2.4534)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22082C #122C08
analogous
#10082C #22082C #2C0824
triadic
#22082C #2C2208 #082C22
tetradic
#22082C #2C1008 #122C08 #08242C
square
#22082C #2C1008 #122C08 #08242C
split-complementary
#22082C #242C08 #082C10
monochromatic
#14051A #14051A #22082C #4A1160 #721B94

Accessibility & contrast

On white

18.43
#22082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22082C
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22082C#FFFFFF#000000##FFFFFF
##22082C1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#07152B
Tritanopia (blue-blind)
#210F18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22082c;
/* rgb */ color: rgb(34, 8, 44);
/* oklch */ color: oklch(20.0% 0.073 315.2);
Tailwind
colors: {
  custom: {
    50: '#5e4a65',
    500: '#22082c',
    950: '#000000',
  },
}
SCSS
$custom: #22082c;
$custom-light: #5e4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#22082c",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 283.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20006,
    "c": 0.07302,
    "h": 315.2
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#22082C
secondary
#386B25
accent
#EC3C6D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #22082C

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

Preview Lab → · Contrast checker → · Palette generator →

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