#22082F#22082F

#22082F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.077 H 312.2°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#22082F
RGBrgb(34, 8, 47)
HSLhsl(280, 71%, 11%)
HSVhsv(280, 83%, 18%)
CMYKcmyk(27.7%, 83%, 0%, 81.6%)
CIE-LABlab(6.49, 21.36, -19.98)
CIE-LCHlch(6.49, 29.24, 316.92°)
OKLaboklab(20.26% 0.0515 -0.0569)
OKLCHoklch(20.26% 0.077 312.2)
XYZxyz(1.2595, 0.7190, 2.7612)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22082F #152F08
analogous
#0E082F #22082F #2F0828
triadic
#22082F #2F2208 #082F22
tetradic
#22082F #2F0E08 #152F08 #08282F
square
#22082F #2F0E08 #152F08 #08282F
split-complementary
#22082F #282F08 #082F0E
monochromatic
#13041A #13041A #22082F #481163 #6E1A98

Accessibility & contrast

On white

18.36
#22082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22082F
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22082F#FFFFFF#000000##FFFFFF
##22082F1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#20101A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #22082f;
/* rgb */ color: rgb(34, 8, 47);
/* oklch */ color: oklch(20.3% 0.077 312.2);
Tailwind
colors: {
  custom: {
    50: '#5f4a68',
    500: '#22082f',
    950: '#000000',
  },
}
SCSS
$custom: #22082f;
$custom-light: #5f4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#22082f",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 280,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2026,
    "c": 0.07674,
    "h": 312.2
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#22082F
secondary
#3D6E25
accent
#EE3A76
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #22082F

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

Preview Lab → · Contrast checker → · Palette generator →

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