#20053C#20053C

#20053C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.7% C 0.097 H 300.3°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#20053C
RGBrgb(32, 5, 60)
HSLhsl(269, 85%, 13%)
HSVhsv(269, 92%, 24%)
CMYKcmyk(46.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(6.70, 26.59, -29.18)
CIE-LCHlch(6.70, 39.48, 312.35°)
OKLaboklab(20.74% 0.049 -0.0838)
OKLCHoklch(20.74% 0.097 300.3)
XYZxyz(1.4653, 0.7418, 4.3401)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20053C #213C05
analogous
#05053C #20053C #3B053C
triadic
#20053C #3C2005 #053C20
tetradic
#20053C #3C0505 #213C05 #053C3B
square
#20053C #3C0505 #213C05 #053C3B
split-complementary
#20053C #3C3B05 #053C05
monochromatic
#0F021C #0F021C #20053C #3E0A74 #5C0EAD

Accessibility & contrast

On white

18.29
#20053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20053C
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20053C#FFFFFF#000000##FFFFFF
##20053C1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#191421
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20053c;
/* rgb */ color: rgb(32, 5, 60);
/* oklch */ color: oklch(20.7% 0.097 300.3);
Tailwind
colors: {
  custom: {
    50: '#5f4872',
    500: '#20053c',
    950: '#000000',
  },
}
SCSS
$custom: #20053c;
$custom-light: #5f4872;
$custom-dark: #000000;
JSON
{
  "hex": "#20053c",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 269.455,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20741,
    "c": 0.09708,
    "h": 300.3
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#20053C
secondary
#4F7D20
accent
#FB2D96
background
#F5F4F7
surface
#EAE6ED
border
#C6C2C8
text
#050108
muted
#79777B

Preview Lab

Preview with #20053C

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

Preview Lab → · Contrast checker → · Palette generator →

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