#20082D#20082D

#20082D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.073 H 311.3°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#20082D
RGBrgb(32, 8, 45)
HSLhsl(279, 70%, 10%)
HSVhsv(279, 82%, 18%)
CMYKcmyk(28.9%, 82.2%, 0%, 82.4%)
CIE-LABlab(6.05, 19.93, -19.20)
CIE-LCHlch(6.05, 27.67, 316.06°)
OKLaboklab(19.76% 0.0485 -0.0551)
OKLCHoklch(19.76% 0.073 311.3)
XYZxyz(1.1561, 0.6702, 2.5506)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20082D #152D08
analogous
#0D082D #20082D #2D0827
triadic
#20082D #2D2008 #082D20
tetradic
#20082D #2D0D08 #152D08 #08272D
square
#20082D #2D0D08 #152D08 #08272D
split-complementary
#20082D #272D08 #082D0D
monochromatic
#12051A #12051A #20082D #451161 #6A1A95

Accessibility & contrast

On white

18.52
#20082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20082D
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20082D#FFFFFF#000000##FFFFFF
##20082D1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#1E1019
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #20082d;
/* rgb */ color: rgb(32, 8, 45);
/* oklch */ color: oklch(19.8% 0.073 311.3);
Tailwind
colors: {
  custom: {
    50: '#5d4a66',
    500: '#20082d',
    950: '#000000',
  },
}
SCSS
$custom: #20082d;
$custom-light: #5d4a66;
$custom-dark: #000000;
JSON
{
  "hex": "#20082d",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 278.919,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19762,
    "c": 0.07337,
    "h": 311.3
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#20082D
secondary
#3E6C25
accent
#ED3B7A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #20082D

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

Preview Lab → · Contrast checker → · Palette generator →

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