#20132D#20132D

#20132D is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.8% C 0.052 H 305.6°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#20132D
RGBrgb(32, 19, 45)
HSLhsl(270, 41%, 13%)
HSVhsv(270, 58%, 18%)
CMYKcmyk(28.9%, 57.8%, 0%, 82.4%)
CIE-LABlab(8.67, 13.29, -15.05)
CIE-LCHlch(8.67, 20.07, 311.45°)
OKLaboklab(21.82% 0.0302 -0.0421)
OKLCHoklch(21.82% 0.052 305.6)
XYZxyz(1.3021, 0.9623, 2.5993)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20132D #202D13
analogous
#13132D #20132D #2D132D
triadic
#20132D #2D2013 #132D20
tetradic
#20132D #2D1313 #202D13 #132D2D
square
#20132D #2D1313 #202D13 #132D2D
split-complementary
#20132D #2D2D13 #132D13
monochromatic
#0F0916 #0F0916 #20132D #3F2558 #5D3783

Accessibility & contrast

On white

17.61
#20132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#20132D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20132D
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20132D#FFFFFF#000000##FFFFFF
##20132D1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#0F192C
Tritanopia (blue-blind)
#1E171D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20132d;
/* rgb */ color: rgb(32, 19, 45);
/* oklch */ color: oklch(21.8% 0.052 305.6);
Tailwind
colors: {
  custom: {
    50: '#5c5166',
    500: '#20132d',
    950: '#000000',
  },
}
SCSS
$custom: #20132d;
$custom-light: #5c5166;
$custom-dark: #000000;
JSON
{
  "hex": "#20132d",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 270,
    "s": 40.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21815,
    "c": 0.05177,
    "h": 305.6
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#20132D
secondary
#4E6438
accent
#D05794
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #20132D

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

Preview Lab → · Contrast checker → · Palette generator →

#20132D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva