#20053B#20053B

#20053B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.096 H 301.0°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#20053B
RGBrgb(32, 5, 59)
HSLhsl(270, 84%, 13%)
HSVhsv(270, 92%, 23%)
CMYKcmyk(45.8%, 91.5%, 0%, 76.9%)
CIE-LABlab(6.61, 26.26, -28.61)
CIE-LCHlch(6.61, 38.83, 312.54°)
OKLaboklab(20.63% 0.0493 -0.0822)
OKLCHoklch(20.63% 0.096 301)
XYZxyz(1.4392, 0.7314, 4.2022)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20053B #203B05
analogous
#05053B #20053B #3B053B
triadic
#20053B #3B2005 #053B20
tetradic
#20053B #3B0505 #203B05 #053B3B
square
#20053B #3B0505 #203B05 #053B3B
split-complementary
#20053B #3B3B05 #053B05
monochromatic
#0F021C #0F021C #20053B #3F0A73 #5D0FAC

Accessibility & contrast

On white

18.32
#20053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#20053B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20053B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20053B#FFFFFF#000000##FFFFFF
##20053B1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#1A1320
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20053b;
/* rgb */ color: rgb(32, 5, 59);
/* oklch */ color: oklch(20.6% 0.096 301.0);
Tailwind
colors: {
  custom: {
    50: '#5f4871',
    500: '#20053b',
    950: '#000000',
  },
}
SCSS
$custom: #20053b;
$custom-light: #5f4871;
$custom-dark: #000000;
JSON
{
  "hex": "#20053b",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 270,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20634,
    "c": 0.09589,
    "h": 301
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#20053B
secondary
#4E7C20
accent
#FB2D94
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050108
muted
#79777B

Preview Lab

Preview with #20053B

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

Preview Lab → · Contrast checker → · Palette generator →

#20053B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva