#20132E#20132E

#20132E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.9% C 0.053 H 304.6°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#20132E
RGBrgb(32, 19, 46)
HSLhsl(269, 42%, 13%)
HSVhsv(269, 59%, 18%)
CMYKcmyk(30.4%, 58.7%, 0%, 82%)
CIE-LABlab(8.74, 13.60, -15.68)
CIE-LCHlch(8.74, 20.75, 310.93°)
OKLaboklab(21.89% 0.0303 -0.0439)
OKLCHoklch(21.89% 0.053 304.6)
XYZxyz(1.3216, 0.9701, 2.7019)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20132E #212E13
analogous
#13132E #20132E #2D132E
triadic
#20132E #2E2013 #132E20
tetradic
#20132E #2E1313 #212E13 #132E2D
square
#20132E #2E1313 #212E13 #132E2D
split-complementary
#20132E #2E2D13 #132E13
monochromatic
#0F0916 #0F0916 #20132E #3E2559 #5C3785

Accessibility & contrast

On white

17.59
#20132E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20132E
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20132E#FFFFFF#000000##FFFFFF
##20132E1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B192F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#1E181E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20132e;
/* rgb */ color: rgb(32, 19, 46);
/* oklch */ color: oklch(21.9% 0.053 304.6);
Tailwind
colors: {
  custom: {
    50: '#5c5167',
    500: '#20132e',
    950: '#000000',
  },
}
SCSS
$custom: #20132e;
$custom-light: #5c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#20132e",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 46
  },
  "hsl": {
    "h": 268.889,
    "s": 41.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21887,
    "c": 0.05337,
    "h": 304.6
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#20132E
secondary
#4F6538
accent
#D15696
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #20132E

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

Preview Lab → · Contrast checker → · Palette generator →

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