#20082F#20082F

#20082F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.076 H 309.4°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#20082F
RGBrgb(32, 8, 47)
HSLhsl(277, 71%, 11%)
HSVhsv(277, 83%, 18%)
CMYKcmyk(31.9%, 83%, 0%, 81.6%)
CIE-LABlab(6.20, 20.61, -20.47)
CIE-LCHlch(6.20, 29.04, 315.19°)
OKLaboklab(19.94% 0.0482 -0.0587)
OKLCHoklch(19.94% 0.076 309.4)
XYZxyz(1.1955, 0.6860, 2.7582)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20082F #172F08
analogous
#0C082F #20082F #2F082A
triadic
#20082F #2F2008 #082F20
tetradic
#20082F #2F0C08 #172F08 #082A2F
square
#20082F #2F0C08 #172F08 #082A2F
split-complementary
#20082F #2A2F08 #082F0C
monochromatic
#12041A #12041A #20082F #441163 #671A98

Accessibility & contrast

On white

18.47
#20082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#20082F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20082F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20082F#FFFFFF#000000##FFFFFF
##20082F1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#1E101A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #20082f;
/* rgb */ color: rgb(32, 8, 47);
/* oklch */ color: oklch(19.9% 0.076 309.4);
Tailwind
colors: {
  custom: {
    50: '#5d4a68',
    500: '#20082f',
    950: '#000000',
  },
}
SCSS
$custom: #20082f;
$custom-light: #5d4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#20082f",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 276.923,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19938,
    "c": 0.07593,
    "h": 309.4
  },
  "luminance": 0.00686
}

Semantic roles & 50–950 ramp

primary
#20082F
secondary
#416E25
accent
#EE3A7F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #20082F

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

Preview Lab → · Contrast checker → · Palette generator →

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