#22032F#22032F

#22032F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.087 H 313.8°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#22032F
RGBrgb(34, 3, 47)
HSLhsl(282, 88%, 10%)
HSVhsv(282, 94%, 18%)
CMYKcmyk(27.7%, 93.6%, 0%, 81.6%)
CIE-LABlab(5.51, 23.86, -21.54)
CIE-LCHlch(5.51, 32.14, 317.93°)
OKLaboklab(19.42% 0.0599 -0.0625)
OKLCHoklch(19.42% 0.087 313.8)
XYZxyz(1.2052, 0.6105, 2.7431)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22032F #102F03
analogous
#0C032F #22032F #2F0326
triadic
#22032F #2F2203 #032F22
tetradic
#22032F #2F0C03 #102F03 #03262F
square
#22032F #2F0C03 #102F03 #03262F
split-complementary
#22032F #262F03 #032F0C
monochromatic
#15021D #15021D #22032F #4C0769 #750AA2

Accessibility & contrast

On white

18.72
#22032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22032F
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22032F#FFFFFF#000000##FFFFFF
##22032F1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#210C18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #22032f;
/* rgb */ color: rgb(34, 3, 47);
/* oklch */ color: oklch(19.4% 0.087 313.8);
Tailwind
colors: {
  custom: {
    50: '#5f4768',
    500: '#22032f',
    950: '#000000',
  },
}
SCSS
$custom: #22032f;
$custom-light: #5f4768;
$custom-dark: #000000;
JSON
{
  "hex": "#22032f",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 282.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19419,
    "c": 0.08653,
    "h": 313.8
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#22032F
secondary
#35731B
accent
#FE2A68
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #22032F

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

Preview Lab → · Contrast checker → · Palette generator →

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