#20142C#20142C

#20142C is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.0% C 0.048 H 305.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#20142C
RGBrgb(32, 20, 44)
HSLhsl(270, 38%, 13%)
HSVhsv(270, 55%, 17%)
CMYKcmyk(27.3%, 54.5%, 0%, 82.7%)
CIE-LABlab(8.90, 12.25, -13.95)
CIE-LCHlch(8.90, 18.57, 311.30°)
OKLaboklab(21.97% 0.0281 -0.0389)
OKLCHoklch(21.97% 0.048 305.9)
XYZxyz(1.3004, 0.9892, 2.5048)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20142C #202C14
analogous
#14142C #20142C #2C142C
triadic
#20142C #2C2014 #142C20
tetradic
#20142C #2C1414 #202C14 #142C2C
square
#20142C #2C1414 #202C14 #142C2C
split-complementary
#20142C #2C2C14 #142C14
monochromatic
#0F0A15 #0F0A15 #20142C #3F2756 #5D3A80

Accessibility & contrast

On white

17.53
#20142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#20142C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20142C
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20142C#FFFFFF#000000##FFFFFF
##20142C1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192D
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#1E181D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #20142c;
/* rgb */ color: rgb(32, 20, 44);
/* oklch */ color: oklch(22.0% 0.048 305.9);
Tailwind
colors: {
  custom: {
    50: '#5c5165',
    500: '#20142c',
    950: '#000000',
  },
}
SCSS
$custom: #20142c;
$custom-light: #5c5165;
$custom-dark: #000000;
JSON
{
  "hex": "#20142c",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 270,
    "s": 37.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21965,
    "c": 0.04801,
    "h": 305.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#20142C
secondary
#4E6239
accent
#CD5A94
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040205
muted
#79787A

Preview Lab

Preview with #20142C

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

Preview Lab → · Contrast checker → · Palette generator →

#20142C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva