#20032E#20032E

#20032E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.085 H 312.2°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#20032E
RGBrgb(32, 3, 46)
HSLhsl(280, 88%, 10%)
HSVhsv(280, 93%, 18%)
CMYKcmyk(30.4%, 93.5%, 0%, 82%)
CIE-LABlab(5.14, 22.68, -21.40)
CIE-LCHlch(5.14, 31.18, 316.68°)
OKLaboklab(18.97% 0.0569 -0.0627)
OKLCHoklch(18.97% 0.085 312.2)
XYZxyz(1.1213, 0.5695, 2.6351)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20032E #112E03
analogous
#0B032E #20032E #2E0327
triadic
#20032E #2E2003 #032E20
tetradic
#20032E #2E0B03 #112E03 #03272E
square
#20032E #2E0B03 #112E03 #03272E
split-complementary
#20032E #272E03 #032E0B
monochromatic
#14021D #14021D #20032E #480767 #700AA1

Accessibility & contrast

On white

18.85
#20032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#20032E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20032E
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20032E#FFFFFF#000000##FFFFFF
##20032E1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#1E0C18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #20032e;
/* rgb */ color: rgb(32, 3, 46);
/* oklch */ color: oklch(19.0% 0.085 312.2);
Tailwind
colors: {
  custom: {
    50: '#5d4767',
    500: '#20032e',
    950: '#000000',
  },
}
SCSS
$custom: #20032e;
$custom-light: #5d4767;
$custom-dark: #000000;
JSON
{
  "hex": "#20032e",
  "rgb": {
    "r": 32,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 280.465,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18972,
    "c": 0.08467,
    "h": 312.2
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#20032E
secondary
#37721B
accent
#FE2A6F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #20032E

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

Preview Lab → · Contrast checker → · Palette generator →

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