#20082A#20082A

#20082A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.070 H 314.5°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#20082A
RGBrgb(32, 8, 42)
HSLhsl(282, 68%, 10%)
HSVhsv(282, 81%, 16%)
CMYKcmyk(23.8%, 81%, 0%, 83.5%)
CIE-LABlab(5.85, 18.92, -17.26)
CIE-LCHlch(5.85, 25.61, 317.62°)
OKLaboklab(19.51% 0.0487 -0.0496)
OKLCHoklch(19.51% 0.07 314.5)
XYZxyz(1.1003, 0.6479, 2.2571)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20082A #122A08
analogous
#0F082A #20082A #2A0823
triadic
#20082A #2A2008 #082A20
tetradic
#20082A #2A0F08 #122A08 #08232A
square
#20082A #2A0F08 #122A08 #08232A
split-complementary
#20082A #232A08 #082A0F
monochromatic
#14051A #14051A #20082A #47125D #6E1C91

Accessibility & contrast

On white

18.59
#20082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20082A
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20082A#FFFFFF#000000##FFFFFF
##20082A1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122B
Deuteranopia (green-blind)
#071429
Tritanopia (blue-blind)
#1F0E17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #20082a;
/* rgb */ color: rgb(32, 8, 42);
/* oklch */ color: oklch(19.5% 0.070 314.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a63',
    500: '#20082a',
    950: '#000000',
  },
}
SCSS
$custom: #20082a;
$custom-light: #5c4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#20082a",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 282.353,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19507,
    "c": 0.06954,
    "h": 314.5
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#20082A
secondary
#396925
accent
#EB3D70
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #20082A

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

Preview Lab → · Contrast checker → · Palette generator →

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