#1E021A#1E021A

#1E021A is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.7% C 0.066 H 334.0°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#1E021A
RGBrgb(30, 2, 26)
HSLhsl(309, 88%, 6%)
HSVhsv(309, 93%, 12%)
CMYKcmyk(0%, 93.3%, 13.3%, 88.2%)
CIE-LABlab(3.56, 15.12, -8.35)
CIE-LCHlch(3.56, 17.27, 331.07°)
OKLaboklab(16.67% 0.0589 -0.0288)
OKLCHoklch(16.67% 0.066 334)
XYZxyz(0.7436, 0.3941, 1.0140)
Luminance0.0039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E021A #021E06
analogous
#14021E #1E021A #1E020C
triadic
#1E021A #1A1E02 #021A1E
tetradic
#1E021A #1E1402 #021E06 #020C1E
square
#1E021A #1E1402 #021E06 #020C1E
split-complementary
#1E021A #0C1E02 #021E14
monochromatic
#1D0219 #1D0219 #1E021A #57064C #910A7D

Accessibility & contrast

On white

19.47
#1E021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E021A
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E021A#FFFFFF#000000##FFFFFF
##1E021A1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020A1B
Deuteranopia (green-blind)
#0A0E19
Tritanopia (blue-blind)
#20040C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1e021a;
/* rgb */ color: rgb(30, 2, 26);
/* oklch */ color: oklch(16.7% 0.066 334.0);
Tailwind
colors: {
  custom: {
    50: '#594756',
    500: '#1e021a',
    950: '#000000',
  },
}
SCSS
$custom: #1e021a;
$custom-light: #594756;
$custom-dark: #000000;
JSON
{
  "hex": "#1e021a",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 308.571,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16666,
    "c": 0.06554,
    "h": 334
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#1E021A
secondary
#186423
accent
#FE482A
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1E021A

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

Preview Lab → · Contrast checker → · Palette generator →

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