#20082B#20082B

#20082B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.6% C 0.071 H 313.4°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#20082B
RGBrgb(32, 8, 43)
HSLhsl(281, 69%, 10%)
HSVhsv(281, 81%, 17%)
CMYKcmyk(25.6%, 81.4%, 0%, 83.1%)
CIE-LABlab(5.92, 19.25, -17.91)
CIE-LCHlch(5.92, 26.30, 317.06°)
OKLaboklab(19.59% 0.0486 -0.0515)
OKLCHoklch(19.59% 0.071 313.4)
XYZxyz(1.1185, 0.6552, 2.3526)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20082B #132B08
analogous
#0F082B #20082B #2B0824
triadic
#20082B #2B2008 #082B20
tetradic
#20082B #2B0F08 #132B08 #08242B
square
#20082B #2B0F08 #132B08 #08242B
split-complementary
#20082B #242B08 #082B0F
monochromatic
#13051A #13051A #20082B #46125F #6D1B92

Accessibility & contrast

On white

18.57
#20082B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20082B
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20082B#FFFFFF#000000##FFFFFF
##20082B1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#06142A
Tritanopia (blue-blind)
#1F0F18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #20082b;
/* rgb */ color: rgb(32, 8, 43);
/* oklch */ color: oklch(19.6% 0.071 313.4);
Tailwind
colors: {
  custom: {
    50: '#5d4a64',
    500: '#20082b',
    950: '#000000',
  },
}
SCSS
$custom: #20082b;
$custom-light: #5d4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#20082b",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 281.143,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.19591,
    "c": 0.07082,
    "h": 313.4
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#20082B
secondary
#3B6A25
accent
#EB3C73
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #20082B

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

Preview Lab → · Contrast checker → · Palette generator →

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