#1E021E#1E021E

#1E021E is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.0% C 0.069 H 328.1°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#1E021E
RGBrgb(30, 2, 30)
HSLhsl(300, 88%, 6%)
HSVhsv(300, 93%, 12%)
CMYKcmyk(0%, 93.3%, 0%, 88.2%)
CIE-LABlab(3.73, 16.34, -11.29)
CIE-LCHlch(3.73, 19.86, 325.35°)
OKLaboklab(16.97% 0.0589 -0.0367)
OKLCHoklch(16.97% 0.069 328.1)
XYZxyz(0.7915, 0.4132, 1.2661)
Luminance0.0041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E021E #021E02
analogous
#10021E #1E021E #1E0210
triadic
#1E021E #1E1E02 #021E1E
tetradic
#1E021E #1E1002 #021E02 #02101E
square
#1E021E #1E1002 #021E02 #02101E
split-complementary
#1E021E #101E02 #021E10
monochromatic
#1D021D #1D021D #1E021E #570657 #910A91

Accessibility & contrast

On white

19.40
#1E021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E021E
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E021E#FFFFFF#000000##FFFFFF
##1E021E1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B1F
Deuteranopia (green-blind)
#080F1D
Tritanopia (blue-blind)
#1F050E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1e021e;
/* rgb */ color: rgb(30, 2, 30);
/* oklch */ color: oklch(17.0% 0.069 328.1);
Tailwind
colors: {
  custom: {
    50: '#594759',
    500: '#1e021e',
    950: '#000000',
  },
}
SCSS
$custom: #1e021e;
$custom-light: #594759;
$custom-dark: #000000;
JSON
{
  "hex": "#1e021e",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 300,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16969,
    "c": 0.0694,
    "h": 328.1
  },
  "luminance": 0.00413
}

Semantic roles & 50–950 ramp

primary
#1E021E
secondary
#186418
accent
#FE2A2A
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1E021E

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

Preview Lab → · Contrast checker → · Palette generator →

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