#20022B#20022B

#20022B is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.084 H 315.5°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#20022B
RGBrgb(32, 2, 43)
HSLhsl(284, 91%, 9%)
HSVhsv(284, 95%, 17%)
CMYKcmyk(25.6%, 95.3%, 0%, 83.1%)
CIE-LABlab(4.74, 22.07, -19.77)
CIE-LCHlch(4.74, 29.63, 318.14°)
OKLaboklab(18.5% 0.0597 -0.0587)
OKLCHoklch(18.5% 0.084 315.5)
XYZxyz(1.0533, 0.5250, 2.3309)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20022B #0D2B02
analogous
#0C022B #20022B #2B0222
triadic
#20022B #2B2002 #022B20
tetradic
#20022B #2B0C02 #0D2B02 #02222B
square
#20022B #2B0C02 #0D2B02 #02222B
split-complementary
#20022B #222B02 #022B0C
monochromatic
#16011D #16011D #20022B #4C0565 #7707A0

Accessibility & contrast

On white

19.00
#20022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#20022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20022B
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20022B#FFFFFF#000000##FFFFFF
##20022B1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#1F0A16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #20022b;
/* rgb */ color: rgb(32, 2, 43);
/* oklch */ color: oklch(18.5% 0.084 315.5);
Tailwind
colors: {
  custom: {
    50: '#5d4764',
    500: '#20022b',
    950: '#000000',
  },
}
SCSS
$custom: #20022b;
$custom-light: #5d4764;
$custom-dark: #000000;
JSON
{
  "hex": "#20022b",
  "rgb": {
    "r": 32,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 283.902,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18495,
    "c": 0.08372,
    "h": 315.5
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#20022B
secondary
#307019
accent
#FF2962
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #20022B

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

Preview Lab → · Contrast checker → · Palette generator →

#20022B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva