#20142E#20142E

#20142E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.1% C 0.051 H 303.8°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#20142E
RGBrgb(32, 20, 46)
HSLhsl(268, 39%, 13%)
HSVhsv(268, 57%, 18%)
CMYKcmyk(30.4%, 56.5%, 0%, 82%)
CIE-LABlab(9.03, 12.87, -15.22)
CIE-LCHlch(9.03, 19.93, 310.21°)
OKLaboklab(22.1% 0.0285 -0.0426)
OKLCHoklch(22.1% 0.051 303.8)
XYZxyz(1.3389, 1.0046, 2.7076)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20142E #222E14
analogous
#14152E #20142E #2D142E
triadic
#20142E #2E2014 #142E20
tetradic
#20142E #2E1415 #222E14 #142E2D
square
#20142E #2E1415 #222E14 #142E2D
split-complementary
#20142E #2E2D14 #152E14
monochromatic
#0F0915 #0F0915 #20142E #3E2759 #5B3983

Accessibility & contrast

On white

17.49
#20142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20142E
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20142E#FFFFFF#000000##FFFFFF
##20142E1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#101A2D
Tritanopia (blue-blind)
#1E181E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20142e;
/* rgb */ color: rgb(32, 20, 46);
/* oklch */ color: oklch(22.1% 0.051 303.8);
Tailwind
colors: {
  custom: {
    50: '#5c5167',
    500: '#20142e',
    950: '#000000',
  },
}
SCSS
$custom: #20142e;
$custom-light: #5c5167;
$custom-dark: #000000;
JSON
{
  "hex": "#20142e",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 267.692,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22104,
    "c": 0.05127,
    "h": 303.8
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#20142E
secondary
#516539
accent
#CF5998
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #20142E

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

Preview Lab → · Contrast checker → · Palette generator →

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