#22082E#22082E

#22082E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 313.1°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#22082E
RGBrgb(34, 8, 46)
HSLhsl(281, 70%, 11%)
HSVhsv(281, 83%, 18%)
CMYKcmyk(26.1%, 82.6%, 0%, 82%)
CIE-LABlab(6.42, 21.04, -19.35)
CIE-LCHlch(6.42, 28.59, 317.41°)
OKLaboklab(20.17% 0.0516 -0.0551)
OKLCHoklch(20.17% 0.076 313.1)
XYZxyz(1.2396, 0.7110, 2.6562)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22082E #142E08
analogous
#0F082E #22082E #2E0827
triadic
#22082E #2E2208 #082E22
tetradic
#22082E #2E0F08 #142E08 #08272E
square
#22082E #2E0F08 #142E08 #08272E
split-complementary
#22082E #272E08 #082E0F
monochromatic
#13051A #13051A #22082E #491162 #6F1A96

Accessibility & contrast

On white

18.39
#22082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22082E
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22082E#FFFFFF#000000##FFFFFF
##22082E1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#21101A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22082e;
/* rgb */ color: rgb(34, 8, 46);
/* oklch */ color: oklch(20.2% 0.076 313.1);
Tailwind
colors: {
  custom: {
    50: '#5f4a67',
    500: '#22082e',
    950: '#000000',
  },
}
SCSS
$custom: #22082e;
$custom-light: #5f4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#22082e",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 281.053,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20174,
    "c": 0.07551,
    "h": 313.1
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#22082E
secondary
#3C6D25
accent
#ED3B73
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #22082E

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

Preview Lab → · Contrast checker → · Palette generator →

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