#20141F#20141F

#20141F is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.2% C 0.028 H 329.4°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#20141F
RGBrgb(32, 20, 31)
HSLhsl(305, 23%, 10%)
HSVhsv(305, 38%, 13%)
CMYKcmyk(0%, 37.5%, 3.1%, 87.5%)
CIE-LABlab(8.19, 8.61, -5.30)
CIE-LCHlch(8.19, 10.11, 328.37°)
OKLaboklab(21.19% 0.0241 -0.0143)
OKLCHoklch(21.19% 0.028 329.4)
XYZxyz(1.0931, 0.9064, 1.4134)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20141F #142015
analogous
#1B1420 #20141F #201419
triadic
#20141F #1F2014 #141F20
tetradic
#20141F #201B14 #142015 #141920
square
#20141F #201B14 #142015 #141920
split-complementary
#20141F #192014 #14201B
monochromatic
#130C12 #130C12 #20141F #462C43 #6B4368

Accessibility & contrast

On white

17.78
#20141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#20141F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20141F
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20141F#FFFFFF#000000##FFFFFF
##20141F1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171F
Deuteranopia (green-blind)
#16181F
Tritanopia (blue-blind)
#211518
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #20141f;
/* rgb */ color: rgb(32, 20, 31);
/* oklch */ color: oklch(21.2% 0.028 329.4);
Tailwind
colors: {
  custom: {
    50: '#5b515a',
    500: '#20141f',
    950: '#000000',
  },
}
SCSS
$custom: #20141f;
$custom-light: #5b515a;
$custom-dark: #000000;
JSON
{
  "hex": "#20141f",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 305,
    "s": 23.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21188,
    "c": 0.02801,
    "h": 329.4
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#20141F
secondary
#3C543E
accent
#C07068
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20141F

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

Preview Lab → · Contrast checker → · Palette generator →

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