#1E041E#1E041E

#1E041E is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.4% C 0.064 H 327.9°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#1E041E
RGBrgb(30, 4, 30)
HSLhsl(300, 76%, 7%)
HSVhsv(300, 87%, 12%)
CMYKcmyk(0%, 86.7%, 0%, 88.2%)
CIE-LABlab(4.12, 15.53, -10.70)
CIE-LCHlch(4.12, 18.86, 325.44°)
OKLaboklab(17.42% 0.0538 -0.0338)
OKLCHoklch(17.42% 0.064 327.9)
XYZxyz(0.8132, 0.4566, 1.2734)
Luminance0.0046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E041E #041E04
analogous
#11041E #1E041E #1E0411
triadic
#1E041E #1E1E04 #041E1E
tetradic
#1E041E #1E1104 #041E04 #04111E
square
#1E041E #1E1104 #041E04 #04111E
split-complementary
#1E041E #111E04 #041E11
monochromatic
#1B041B #1B041B #1E041E #540B54 #8A128A

Accessibility & contrast

On white

19.24
#1E041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1E041E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E041E
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E041E#FFFFFF#000000##FFFFFF
##1E041E1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020C1F
Deuteranopia (green-blind)
#09101D
Tritanopia (blue-blind)
#1F070F
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1e041e;
/* rgb */ color: rgb(30, 4, 30);
/* oklch */ color: oklch(17.4% 0.064 327.9);
Tailwind
colors: {
  custom: {
    50: '#594859',
    500: '#1e041e',
    950: '#000000',
  },
}
SCSS
$custom: #1e041e;
$custom-light: #594859;
$custom-dark: #000000;
JSON
{
  "hex": "#1e041e",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 300,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.1742,
    "c": 0.06357,
    "h": 327.9
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#1E041E
secondary
#1D611D
accent
#F33535
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1E041E

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

Preview Lab → · Contrast checker → · Palette generator →

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