#20132B#20132B

#20132B is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.7% C 0.049 H 307.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#20132B
RGBrgb(32, 19, 43)
HSLhsl(273, 39%, 12%)
HSVhsv(273, 56%, 17%)
CMYKcmyk(25.6%, 55.8%, 0%, 83.1%)
CIE-LABlab(8.54, 12.68, -13.77)
CIE-LCHlch(8.54, 18.72, 312.65°)
OKLaboklab(21.68% 0.0298 -0.0384)
OKLCHoklch(21.68% 0.049 307.8)
XYZxyz(1.2645, 0.9473, 2.4013)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20132B #1E2B13
analogous
#14132B #20132B #2B132A
triadic
#20132B #2B2013 #132B20
tetradic
#20132B #2B1413 #1E2B13 #132A2B
square
#20132B #2B1413 #1E2B13 #132A2B
split-complementary
#20132B #2A2B13 #132B14
monochromatic
#100915 #100915 #20132B #402655 #5F3980

Accessibility & contrast

On white

17.66
#20132B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20132B
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20132B#FFFFFF#000000##FFFFFF
##20132B1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#1E171C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20132b;
/* rgb */ color: rgb(32, 19, 43);
/* oklch */ color: oklch(21.7% 0.049 307.8);
Tailwind
colors: {
  custom: {
    50: '#5c5064',
    500: '#20132b',
    950: '#000000',
  },
}
SCSS
$custom: #20132b;
$custom-light: #5c5064;
$custom-dark: #000000;
JSON
{
  "hex": "#20132b",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 43
  },
  "hsl": {
    "h": 272.5,
    "s": 38.71,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21677,
    "c": 0.04856,
    "h": 307.8
  },
  "luminance": 0.00947
}

Semantic roles & 50–950 ramp

primary
#20132B
secondary
#4B6238
accent
#CF598F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #20132B

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

Preview Lab → · Contrast checker → · Palette generator →

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