#20032F#20032F

#20032F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.086 H 311.3°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#20032F
RGBrgb(32, 3, 47)
HSLhsl(280, 88%, 10%)
HSVhsv(280, 94%, 18%)
CMYKcmyk(31.9%, 93.6%, 0%, 81.6%)
CIE-LABlab(5.22, 23.04, -22.03)
CIE-LCHlch(5.22, 31.88, 316.29°)
OKLaboklab(19.07% 0.0566 -0.0645)
OKLCHoklch(19.07% 0.086 311.3)
XYZxyz(1.1412, 0.5775, 2.7401)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20032F #122F03
analogous
#0A032F #20032F #2F0328
triadic
#20032F #2F2003 #032F20
tetradic
#20032F #2F0A03 #122F03 #03282F
square
#20032F #2F0A03 #122F03 #03282F
split-complementary
#20032F #282F03 #032F0A
monochromatic
#14021D #14021D #20032F #470769 #6E0AA2

Accessibility & contrast

On white

18.83
#20032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#20032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20032F
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20032F#FFFFFF#000000##FFFFFF
##20032F1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#1E0D18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #20032f;
/* rgb */ color: rgb(32, 3, 47);
/* oklch */ color: oklch(19.1% 0.086 311.3);
Tailwind
colors: {
  custom: {
    50: '#5d4768',
    500: '#20032f',
    950: '#000000',
  },
}
SCSS
$custom: #20032f;
$custom-light: #5d4768;
$custom-dark: #000000;
JSON
{
  "hex": "#20032f",
  "rgb": {
    "r": 32,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 279.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19069,
    "c": 0.08578,
    "h": 311.3
  },
  "luminance": 0.00577
}

Semantic roles & 50–950 ramp

primary
#20032F
secondary
#39731B
accent
#FE2A72
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #20032F

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

Preview Lab → · Contrast checker → · Palette generator →

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