#20082C#20082C

#20082C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.7% C 0.072 H 312.3°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#20082C
RGBrgb(32, 8, 44)
HSLhsl(280, 69%, 10%)
HSVhsv(280, 82%, 17%)
CMYKcmyk(27.3%, 81.8%, 0%, 82.7%)
CIE-LABlab(5.99, 19.59, -18.56)
CIE-LCHlch(5.99, 26.99, 316.54°)
OKLaboklab(19.68% 0.0486 -0.0533)
OKLCHoklch(19.68% 0.072 312.3)
XYZxyz(1.1370, 0.6626, 2.4504)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20082C #142C08
analogous
#0E082C #20082C #2C0826
triadic
#20082C #2C2008 #082C20
tetradic
#20082C #2C0E08 #142C08 #08262C
square
#20082C #2C0E08 #142C08 #08262C
split-complementary
#20082C #262C08 #082C0E
monochromatic
#13051A #13051A #20082C #461160 #6B1B94

Accessibility & contrast

On white

18.54
#20082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#20082C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20082C
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20082C#FFFFFF#000000##FFFFFF
##20082C1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#05142B
Tritanopia (blue-blind)
#1F0F18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #20082c;
/* rgb */ color: rgb(32, 8, 44);
/* oklch */ color: oklch(19.7% 0.072 312.3);
Tailwind
colors: {
  custom: {
    50: '#5d4a65',
    500: '#20082c',
    950: '#000000',
  },
}
SCSS
$custom: #20082c;
$custom-light: #5d4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#20082c",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 280,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19676,
    "c": 0.07209,
    "h": 312.3
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#20082C
secondary
#3C6B25
accent
#EC3C77
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #20082C

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

Preview Lab → · Contrast checker → · Palette generator →

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