#1E011F#1E011F

#1E011F is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.8% C 0.073 H 326.9°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#1E011F
RGBrgb(30, 1, 31)
HSLhsl(298, 94%, 6%)
HSVhsv(298, 97%, 12%)
CMYKcmyk(3.2%, 96.8%, 0%, 87.8%)
CIE-LABlab(3.58, 17.06, -12.31)
CIE-LCHlch(3.58, 21.04, 324.20°)
OKLaboklab(16.82% 0.0616 -0.0401)
OKLCHoklch(16.82% 0.073 326.9)
XYZxyz(0.7936, 0.3967, 1.3308)
Luminance0.0040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E011F #021F01
analogous
#0F011F #1E011F #1F0111
triadic
#1E011F #1F1E01 #011F1E
tetradic
#1E011F #1F0F01 #021F01 #01111F
square
#1E011F #1F0F01 #021F01 #01111F
split-complementary
#1E011F #111F01 #011F0F
monochromatic
#1D011E #1D011E #1E011F #57035A #910596

Accessibility & contrast

On white

19.46
#1E011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1E011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E011F
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E011F#FFFFFF#000000##FFFFFF
##1E011F1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A20
Deuteranopia (green-blind)
#060E1E
Tritanopia (blue-blind)
#1F040E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1e011f;
/* rgb */ color: rgb(30, 1, 31);
/* oklch */ color: oklch(16.8% 0.073 326.9);
Tailwind
colors: {
  custom: {
    50: '#59465a',
    500: '#1e011f',
    950: '#000000',
  },
}
SCSS
$custom: #1e011f;
$custom-light: #59465a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e011f",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 298,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16816,
    "c": 0.07347,
    "h": 326.9
  },
  "luminance": 0.00397
}

Semantic roles & 50–950 ramp

primary
#1E011F
secondary
#186715
accent
#FF2930
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #1E011F

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

Preview Lab → · Contrast checker → · Palette generator →

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