#20052A#20052A

#20052A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.076 H 315.5°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#20052A
RGBrgb(32, 5, 42)
HSLhsl(284, 79%, 9%)
HSVhsv(284, 88%, 16%)
CMYKcmyk(23.8%, 88.1%, 0%, 83.5%)
CIE-LABlab(5.26, 20.33, -18.19)
CIE-LCHlch(5.26, 27.28, 318.17°)
OKLaboklab(18.97% 0.0541 -0.0531)
OKLCHoklch(18.97% 0.076 315.5)
XYZxyz(1.0678, 0.5828, 2.2463)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20052A #0F2A05
analogous
#0E052A #20052A #2A0522
triadic
#20052A #2A2005 #052A20
tetradic
#20052A #2A0E05 #0F2A05 #05222A
square
#20052A #2A0E05 #0F2A05 #05222A
split-complementary
#20052A #222A05 #052A0E
monochromatic
#15031B #15031B #20052A #4A0C61 #731297

Accessibility & contrast

On white

18.81
#20052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#20052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20052A
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20052A#FFFFFF#000000##FFFFFF
##20052A1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#1F0C16
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #20052a;
/* rgb */ color: rgb(32, 5, 42);
/* oklch */ color: oklch(19.0% 0.076 315.5);
Tailwind
colors: {
  custom: {
    50: '#5c4863',
    500: '#20052a',
    950: '#000000',
  },
}
SCSS
$custom: #20052a;
$custom-light: #5c4863;
$custom-dark: #000000;
JSON
{
  "hex": "#20052a",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 283.784,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1897,
    "c": 0.0758,
    "h": 315.5
  },
  "luminance": 0.00583
}

Semantic roles & 50–950 ramp

primary
#20052A
secondary
#346C1F
accent
#F53367
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #20052A

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

Preview Lab → · Contrast checker → · Palette generator →

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