#1E022A#1E022A

#1E022A is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.0% C 0.082 H 313.9°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#1E022A
RGBrgb(30, 2, 42)
HSLhsl(282, 91%, 9%)
HSVhsv(282, 95%, 16%)
CMYKcmyk(28.6%, 95.2%, 0%, 83.5%)
CIE-LABlab(4.40, 20.73, -19.58)
CIE-LCHlch(4.40, 28.51, 316.64°)
OKLaboklab(18.03% 0.0567 -0.059)
OKLCHoklch(18.03% 0.082 313.9)
XYZxyz(0.9750, 0.4866, 2.2326)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E022A #0E2A02
analogous
#0A022A #1E022A #2A0222
triadic
#1E022A #2A1E02 #022A1E
tetradic
#1E022A #2A0A02 #0E2A02 #02222A
square
#1E022A #2A0A02 #0E2A02 #02222A
split-complementary
#1E022A #222A02 #022A0A
monochromatic
#15011D #15011D #1E022A #480564 #71089F

Accessibility & contrast

On white

19.14
#1E022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E022A
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E022A#FFFFFF#000000##FFFFFF
##1E022A1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#1D0A15
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1e022a;
/* rgb */ color: rgb(30, 2, 42);
/* oklch */ color: oklch(18.0% 0.082 313.9);
Tailwind
colors: {
  custom: {
    50: '#5b4764',
    500: '#1e022a',
    950: '#000000',
  },
}
SCSS
$custom: #1e022a;
$custom-light: #5b4764;
$custom-dark: #000000;
JSON
{
  "hex": "#1e022a",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 282,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18034,
    "c": 0.08186,
    "h": 313.9
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#1E022A
secondary
#336F19
accent
#FF2969
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #1E022A

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

Preview Lab → · Contrast checker → · Palette generator →

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