#1E0422#1E0422

#1E0422 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.7% C 0.068 H 322.3°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#1E0422
RGBrgb(30, 4, 34)
HSLhsl(292, 79%, 7%)
HSVhsv(292, 88%, 13%)
CMYKcmyk(11.8%, 88.2%, 0%, 86.7%)
CIE-LABlab(4.32, 16.90, -13.54)
CIE-LCHlch(4.32, 21.65, 321.31°)
OKLaboklab(17.73% 0.0538 -0.0415)
OKLCHoklch(17.73% 0.068 322.3)
XYZxyz(0.8675, 0.4784, 1.5597)
Luminance0.0048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0422 #082204
analogous
#0F0422 #1E0422 #220417
triadic
#1E0422 #221E04 #04221E
tetradic
#1E0422 #220F04 #082204 #041722
square
#1E0422 #220F04 #082204 #041722
split-complementary
#1E0422 #172204 #04220F
monochromatic
#18031B #18031B #1E0422 #4E0A59 #7F1190

Accessibility & contrast

On white

19.17
#1E0422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1E0422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0422
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0422#FFFFFF#000000##FFFFFF
##1E04221.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D23
Deuteranopia (green-blind)
#071021
Tritanopia (blue-blind)
#1F0811
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1e0422;
/* rgb */ color: rgb(30, 4, 34);
/* oklch */ color: oklch(17.7% 0.068 322.3);
Tailwind
colors: {
  custom: {
    50: '#5a485d',
    500: '#1e0422',
    950: '#000000',
  },
}
SCSS
$custom: #1e0422;
$custom-light: #5a485d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0422",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 292,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17733,
    "c": 0.06797,
    "h": 322.3
  },
  "luminance": 0.00478
}

Semantic roles & 50–950 ramp

primary
#1E0422
secondary
#27651D
accent
#F5324C
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #1E0422

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

Preview Lab → · Contrast checker → · Palette generator →

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