#20052E#20052E

#20052E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.080 H 311.5°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#20052E
RGBrgb(32, 5, 46)
HSLhsl(280, 80%, 10%)
HSVhsv(280, 89%, 18%)
CMYKcmyk(30.4%, 89.1%, 0%, 82%)
CIE-LABlab(5.54, 21.72, -20.77)
CIE-LCHlch(5.54, 30.06, 316.28°)
OKLaboklab(19.33% 0.0533 -0.0603)
OKLCHoklch(19.33% 0.08 311.5)
XYZxyz(1.1430, 0.6129, 2.6423)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20052E #132E05
analogous
#0B052E #20052E #2E0528
triadic
#20052E #2E2005 #052E20
tetradic
#20052E #2E0B05 #132E05 #05282E
square
#20052E #2E0B05 #132E05 #05282E
split-complementary
#20052E #282E05 #052E0B
monochromatic
#13031C #13031C #20052E #460B65 #6D119C

Accessibility & contrast

On white

18.71
#20052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20052E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20052E#FFFFFF#000000##FFFFFF
##20052E1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#1E0E18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #20052e;
/* rgb */ color: rgb(32, 5, 46);
/* oklch */ color: oklch(19.3% 0.080 311.5);
Tailwind
colors: {
  custom: {
    50: '#5d4867',
    500: '#20052e',
    950: '#000000',
  },
}
SCSS
$custom: #20052e;
$custom-light: #5d4867;
$custom-dark: #000000;
JSON
{
  "hex": "#20052e",
  "rgb": {
    "r": 32,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 279.512,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.19332,
    "c": 0.08049,
    "h": 311.5
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#20052E
secondary
#3B701F
accent
#F73175
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #20052E

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

Preview Lab → · Contrast checker → · Palette generator →

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