#20083F#20083F

#20083F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.096 H 297.3°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#20083F
RGBrgb(32, 8, 63)
HSLhsl(266, 77%, 14%)
HSVhsv(266, 87%, 25%)
CMYKcmyk(49.2%, 87.3%, 0%, 75.3%)
CIE-LABlab(7.58, 25.94, -29.89)
CIE-LCHlch(7.58, 39.58, 310.95°)
OKLaboklab(21.5% 0.0443 -0.0856)
OKLCHoklch(21.5% 0.096 297.3)
XYZxyz(1.5795, 0.8396, 4.7805)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20083F #273F08
analogous
#080C3F #20083F #3C083F
triadic
#20083F #3F2008 #083F20
tetradic
#20083F #3F080C #273F08 #083F3C
square
#20083F #3F080C #273F08 #083F3C
split-complementary
#20083F #3F3C08 #0C3F08
monochromatic
#0E031B #0E031B #20083F #3C0F75 #5716AC

Accessibility & contrast

On white

17.98
#20083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#20083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20083F
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20083F#FFFFFF#000000##FFFFFF
##20083F1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#181723
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #20083f;
/* rgb */ color: rgb(32, 8, 63);
/* oklch */ color: oklch(21.5% 0.096 297.3);
Tailwind
colors: {
  custom: {
    50: '#604a75',
    500: '#20083f',
    950: '#000000',
  },
}
SCSS
$custom: #20083f;
$custom-light: #604a75;
$custom-dark: #000000;
JSON
{
  "hex": "#20083f",
  "rgb": {
    "r": 32,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 266.182,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21502,
    "c": 0.09639,
    "h": 297.3
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#20083F
secondary
#577E25
accent
#F434A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #20083F

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

Preview Lab → · Contrast checker → · Palette generator →

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