#20081E#20081E

#20081E is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.6% C 0.055 H 330.8°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#20081E
RGBrgb(32, 8, 30)
HSLhsl(305, 60%, 8%)
HSVhsv(305, 75%, 13%)
CMYKcmyk(0%, 75%, 6.2%, 87.5%)
CIE-LABlab(5.19, 15.10, -9.07)
CIE-LCHlch(5.19, 17.61, 329.01°)
OKLaboklab(18.62% 0.0479 -0.0268)
OKLCHoklch(18.62% 0.055 330.8)
XYZxyz(0.9168, 0.5745, 1.2907)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20081E #08200A
analogous
#160820 #20081E #200812
triadic
#20081E #1E2008 #081E20
tetradic
#20081E #201608 #08200A #081220
square
#20081E #201608 #08200A #081220
split-complementary
#20081E #122008 #082016
monochromatic
#180617 #180617 #20081E #51144C #82207A

Accessibility & contrast

On white

18.84
#20081E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20081E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20081E#FFFFFF#000000##FFFFFF
##20081E1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1F
Deuteranopia (green-blind)
#0E131D
Tritanopia (blue-blind)
#220A11
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #20081e;
/* rgb */ color: rgb(32, 8, 30);
/* oklch */ color: oklch(18.6% 0.055 330.8);
Tailwind
colors: {
  custom: {
    50: '#5b4a59',
    500: '#20081e',
    950: '#000000',
  },
}
SCSS
$custom: #20081e;
$custom-light: #5b4a59;
$custom-dark: #000000;
JSON
{
  "hex": "#20081e",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 30
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18615,
    "c": 0.05491,
    "h": 330.8
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#20081E
secondary
#265E2B
accent
#E35245
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #20081E

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

Preview Lab → · Contrast checker → · Palette generator →

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