#20033A#20033A

#20033A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.098 H 302.4°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#20033A
RGBrgb(32, 3, 58)
HSLhsl(272, 90%, 12%)
HSVhsv(272, 95%, 23%)
CMYKcmyk(44.8%, 94.8%, 0%, 77.3%)
CIE-LABlab(6.12, 26.97, -28.67)
CIE-LCHlch(6.12, 39.37, 313.25°)
OKLaboklab(20.21% 0.0525 -0.0828)
OKLCHoklch(20.21% 0.098 302.4)
XYZxyz(1.3918, 0.6777, 4.0596)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20033A #1D3A03
analogous
#04033A #20033A #3A0339
triadic
#20033A #3A2003 #033A20
tetradic
#20033A #3A0403 #1D3A03 #03393A
square
#20033A #3A0403 #1D3A03 #03393A
split-complementary
#20033A #393A03 #033A04
monochromatic
#10021D #10021D #20033A #400674 #6009AE

Accessibility & contrast

On white

18.49
#20033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#20033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20033A
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20033A#FFFFFF#000000##FFFFFF
##20033A1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#1A121F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #20033a;
/* rgb */ color: rgb(32, 3, 58);
/* oklch */ color: oklch(20.2% 0.098 302.4);
Tailwind
colors: {
  custom: {
    50: '#5f4771',
    500: '#20033a',
    950: '#000000',
  },
}
SCSS
$custom: #20033a;
$custom-light: #5f4771;
$custom-dark: #000000;
JSON
{
  "hex": "#20033a",
  "rgb": {
    "r": 32,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 271.636,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20211,
    "c": 0.09801,
    "h": 302.4
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#20033A
secondary
#4A7D1C
accent
#FF298E
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #20033A

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

Preview Lab → · Contrast checker → · Palette generator →

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