#20032C#20032C

#20032C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.8% C 0.082 H 314.1°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#20032C
RGBrgb(32, 3, 44)
HSLhsl(282, 87%, 9%)
HSVhsv(282, 93%, 17%)
CMYKcmyk(27.3%, 93.2%, 0%, 82.7%)
CIE-LABlab(5.01, 21.97, -20.11)
CIE-LCHlch(5.01, 29.78, 317.52°)
OKLaboklab(18.78% 0.0574 -0.0592)
OKLCHoklch(18.78% 0.082 314.1)
XYZxyz(1.0828, 0.5541, 2.4323)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20032C #0F2C03
analogous
#0C032C #20032C #2C0324
triadic
#20032C #2C2003 #032C20
tetradic
#20032C #2C0C03 #0F2C03 #03242C
square
#20032C #2C0C03 #0F2C03 #03242C
split-complementary
#20032C #242C03 #032C0C
monochromatic
#15021D #15021D #20032C #4A0765 #730B9F

Accessibility & contrast

On white

18.91
#20032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20032C
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20032C#FFFFFF#000000##FFFFFF
##20032C1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#01122B
Tritanopia (blue-blind)
#1F0B17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #20032c;
/* rgb */ color: rgb(32, 3, 44);
/* oklch */ color: oklch(18.8% 0.082 314.1);
Tailwind
colors: {
  custom: {
    50: '#5d4765',
    500: '#20032c',
    950: '#000000',
  },
}
SCSS
$custom: #20032c;
$custom-light: #5d4765;
$custom-dark: #000000;
JSON
{
  "hex": "#20032c",
  "rgb": {
    "r": 32,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 282.439,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18781,
    "c": 0.08249,
    "h": 314.1
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#20032C
secondary
#34701B
accent
#FD2A68
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #20032C

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

Preview Lab → · Contrast checker → · Palette generator →

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