#18141A#18141A

#18141A is a very dark, near-neutral purple. Relative luminance 0.008; OKLCH L 19.9% C 0.013 H 314.5°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#18141A
RGBrgb(24, 20, 26)
HSLhsl(280, 13%, 9%)
HSVhsv(280, 23%, 10%)
CMYKcmyk(7.7%, 23.1%, 0%, 89.8%)
CIE-LABlab(6.95, 3.37, -3.44)
CIE-LCHlch(6.95, 4.82, 314.39°)
OKLaboklab(19.88% 0.0093 -0.0095)
OKLCHoklch(19.88% 0.013 314.5)
XYZxyz(0.8133, 0.7691, 1.0827)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18141A #161A14
analogous
#15141A #18141A #1A1419
triadic
#18141A #1A1814 #141A18
tetradic
#18141A #1A1514 #161A14 #14191A
square
#18141A #1A1514 #161A14 #14191A
split-complementary
#18141A #191A14 #141A15
monochromatic
#100D11 #100D11 #18141A #382F3D #58495F

Accessibility & contrast

On white

18.20
#18141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#18141A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18141A
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18141A#FFFFFF#000000##FFFFFF
##18141A1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13151A
Deuteranopia (green-blind)
#14151A
Tritanopia (blue-blind)
#181516
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #18141a;
/* rgb */ color: rgb(24, 20, 26);
/* oklch */ color: oklch(19.9% 0.013 314.5);
Tailwind
colors: {
  custom: {
    50: '#545156',
    500: '#18141a',
    950: '#000000',
  },
}
SCSS
$custom: #18141a;
$custom-light: #545156;
$custom-dark: #000000;
JSON
{
  "hex": "#18141a",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 280,
    "s": 13.043,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19875,
    "c": 0.01331,
    "h": 314.5
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#18141A
secondary
#434B3F
accent
#B67289
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878

Preview Lab

Preview with #18141A

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

Preview Lab → · Contrast checker → · Palette generator →

#18141A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva