#22032C#22032C

#22032C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.1% C 0.083 H 316.7°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#22032C
RGBrgb(34, 3, 44)
HSLhsl(285, 87%, 9%)
HSVhsv(285, 93%, 17%)
CMYKcmyk(22.7%, 93.2%, 0%, 82.7%)
CIE-LABlab(5.30, 22.86, -19.62)
CIE-LCHlch(5.30, 30.12, 319.36°)
OKLaboklab(19.14% 0.0606 -0.0572)
OKLCHoklch(19.14% 0.083 316.7)
XYZxyz(1.1468, 0.5871, 2.4353)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22032C #0D2C03
analogous
#0E032C #22032C #2C0322
triadic
#22032C #2C2203 #032C22
tetradic
#22032C #2C0E03 #0D2C03 #03222C
square
#22032C #2C0E03 #0D2C03 #03222C
split-complementary
#22032C #222C03 #032C0E
monochromatic
#16021D #16021D #22032C #4E0765 #7B0B9F

Accessibility & contrast

On white

18.79
#22032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#22032C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22032C
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22032C#FFFFFF#000000##FFFFFF
##22032C1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#03132B
Tritanopia (blue-blind)
#210B17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #22032c;
/* rgb */ color: rgb(34, 3, 44);
/* oklch */ color: oklch(19.1% 0.083 316.7);
Tailwind
colors: {
  custom: {
    50: '#5e4765',
    500: '#22032c',
    950: '#000000',
  },
}
SCSS
$custom: #22032c;
$custom-light: #5e4765;
$custom-dark: #000000;
JSON
{
  "hex": "#22032c",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 285.366,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19141,
    "c": 0.08333,
    "h": 316.7
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#22032C
secondary
#30701B
accent
#FD2A5E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #22032C

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

Preview Lab → · Contrast checker → · Palette generator →

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