#20132F#20132F

#20132F is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.0% C 0.055 H 303.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#20132F
RGBrgb(32, 19, 47)
HSLhsl(268, 42%, 13%)
HSVhsv(268, 60%, 18%)
CMYKcmyk(31.9%, 59.6%, 0%, 81.6%)
CIE-LABlab(8.81, 13.90, -16.31)
CIE-LCHlch(8.81, 21.43, 310.45°)
OKLaboklab(21.96% 0.0305 -0.0458)
OKLCHoklch(21.96% 0.055 303.6)
XYZxyz(1.3415, 0.9781, 2.8069)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20132F #222F13
analogous
#13142F #20132F #2E132F
triadic
#20132F #2F2013 #132F20
tetradic
#20132F #2F1314 #222F13 #132F2E
square
#20132F #2F1314 #222F13 #132F2E
split-complementary
#20132F #2F2E13 #142F13
monochromatic
#0F0916 #0F0916 #20132F #3E255B #5B3686

Accessibility & contrast

On white

17.56
#20132F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20132F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20132F
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20132F#FFFFFF#000000##FFFFFF
##20132F1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#1D181E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20132f;
/* rgb */ color: rgb(32, 19, 47);
/* oklch */ color: oklch(22.0% 0.055 303.6);
Tailwind
colors: {
  custom: {
    50: '#5c5167',
    500: '#20132f',
    950: '#000000',
  },
}
SCSS
$custom: #20132f;
$custom-light: #5c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#20132f",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 47
  },
  "hsl": {
    "h": 267.857,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21959,
    "c": 0.05497,
    "h": 303.6
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#20132F
secondary
#516637
accent
#D25698
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #20132F

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

Preview Lab → · Contrast checker → · Palette generator →

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