#20053F#20053F

#20053F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.101 H 298.3°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#20053F
RGBrgb(32, 5, 63)
HSLhsl(268, 85%, 13%)
HSVhsv(268, 92%, 25%)
CMYKcmyk(49.2%, 92.1%, 0%, 75.3%)
CIE-LABlab(7.00, 27.59, -30.85)
CIE-LCHlch(7.00, 41.39, 311.80°)
OKLaboklab(21.07% 0.0478 -0.0886)
OKLCHoklch(21.07% 0.101 298.3)
XYZxyz(1.5469, 0.7745, 4.7696)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20053F #243F05
analogous
#05073F #20053F #3D053F
triadic
#20053F #3F2005 #053F20
tetradic
#20053F #3F0507 #243F05 #053F3D
square
#20053F #3F0507 #243F05 #053F3D
split-complementary
#20053F #3F3D05 #073F05
monochromatic
#0E021C #0E021C #20053F #3D0978 #5A0EB0

Accessibility & contrast

On white

18.18
#20053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20053F
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20053F#FFFFFF#000000##FFFFFF
##20053F1.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#181522
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #20053f;
/* rgb */ color: rgb(32, 5, 63);
/* oklch */ color: oklch(21.1% 0.101 298.3);
Tailwind
colors: {
  custom: {
    50: '#604875',
    500: '#20053f',
    950: '#000000',
  },
}
SCSS
$custom: #20053f;
$custom-light: #604875;
$custom-dark: #000000;
JSON
{
  "hex": "#20053f",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 267.931,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21067,
    "c": 0.10065,
    "h": 298.3
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#20053F
secondary
#538020
accent
#FC2C9B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #20053F

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

Preview Lab → · Contrast checker → · Palette generator →

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