#20053A#20053A

#20053A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.095 H 301.7°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#20053A
RGBrgb(32, 5, 58)
HSLhsl(271, 84%, 12%)
HSVhsv(271, 91%, 23%)
CMYKcmyk(44.8%, 91.4%, 0%, 77.3%)
CIE-LABlab(6.51, 25.92, -28.04)
CIE-LCHlch(6.51, 38.18, 312.75°)
OKLaboklab(20.53% 0.0497 -0.0806)
OKLCHoklch(20.53% 0.095 301.7)
XYZxyz(1.4135, 0.7211, 4.0669)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20053A #1F3A05
analogous
#05053A #20053A #3A053A
triadic
#20053A #3A2005 #053A20
tetradic
#20053A #3A0505 #1F3A05 #053A3A
square
#20053A #3A0505 #1F3A05 #053A3A
split-complementary
#20053A #3A3A05 #053A05
monochromatic
#10021C #10021C #20053A #3F0A72 #5E0FAB

Accessibility & contrast

On white

18.35
#20053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20053A
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20053A#FFFFFF#000000##FFFFFF
##20053A1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#1A131F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #20053a;
/* rgb */ color: rgb(32, 5, 58);
/* oklch */ color: oklch(20.5% 0.095 301.7);
Tailwind
colors: {
  custom: {
    50: '#5f4871',
    500: '#20053a',
    950: '#000000',
  },
}
SCSS
$custom: #20053a;
$custom-light: #5f4871;
$custom-dark: #000000;
JSON
{
  "hex": "#20053a",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 270.566,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20528,
    "c": 0.09471,
    "h": 301.7
  },
  "luminance": 0.00721
}

Semantic roles & 50–950 ramp

primary
#20053A
secondary
#4D7B20
accent
#FA2D92
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050107
muted
#79777A

Preview Lab

Preview with #20053A

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

Preview Lab → · Contrast checker → · Palette generator →

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