#1E151F#1E151F

#1E151F is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.2% C 0.024 H 323.0°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#1E151F
RGBrgb(30, 21, 31)
HSLhsl(294, 19%, 10%)
HSVhsv(294, 32%, 12%)
CMYKcmyk(3.2%, 32.3%, 0%, 87.8%)
CIE-LABlab(8.23, 6.95, -5.26)
CIE-LCHlch(8.23, 8.72, 322.87°)
OKLaboklab(21.16% 0.0189 -0.0142)
OKLCHoklch(21.16% 0.024 323)
XYZxyz(1.0509, 0.9113, 1.4166)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E151F #161F15
analogous
#19151F #1E151F #1F151B
triadic
#1E151F #1F1E15 #151F1E
tetradic
#1E151F #1F1915 #161F15 #151B1F
square
#1E151F #1F1915 #161F15 #151B1F
split-complementary
#1E151F #1B1F15 #151F19
monochromatic
#120C12 #120C12 #1E151F #412E43 #654668

Accessibility & contrast

On white

17.76
#1E151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1E151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E151F
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E151F#FFFFFF#000000##FFFFFF
##1E151F1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e151f;
/* rgb */ color: rgb(30, 21, 31);
/* oklch */ color: oklch(21.2% 0.024 323.0);
Tailwind
colors: {
  custom: {
    50: '#59525a',
    500: '#1e151f',
    950: '#000000',
  },
}
SCSS
$custom: #1e151f;
$custom-light: #59525a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e151f",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 294,
    "s": 19.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21159,
    "c": 0.02364,
    "h": 323
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#1E151F
secondary
#40523E
accent
#BC6C74
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#030203
muted
#787878

Preview Lab

Preview with #1E151F

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

Preview Lab → · Contrast checker → · Palette generator →

#1E151F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva