#1E022B#1E022B

#1E022B is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.1% C 0.083 H 312.9°. Best body text is #FFFFFF at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#1E022B
RGBrgb(30, 2, 43)
HSLhsl(281, 91%, 9%)
HSVhsv(281, 95%, 17%)
CMYKcmyk(30.2%, 95.3%, 0%, 83.1%)
CIE-LABlab(4.46, 21.11, -20.23)
CIE-LCHlch(4.46, 29.24, 316.22°)
OKLaboklab(18.13% 0.0564 -0.0608)
OKLCHoklch(18.13% 0.083 312.9)
XYZxyz(0.9931, 0.4939, 2.3280)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E022B #0F2B02
analogous
#0A022B #1E022B #2B0224
triadic
#1E022B #2B1E02 #022B1E
tetradic
#1E022B #2B0A02 #0F2B02 #02242B
square
#1E022B #2B0A02 #0F2B02 #02242B
split-complementary
#1E022B #242B02 #022B0A
monochromatic
#14011D #14011D #1E022B #470565 #7007A0

Accessibility & contrast

On white

19.11
#1E022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E022B
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E022B#FFFFFF#000000##FFFFFF
##1E022B1.0019.111.1019.11
#FFFFFF19.111.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#1C0A16
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1e022b;
/* rgb */ color: rgb(30, 2, 43);
/* oklch */ color: oklch(18.1% 0.083 312.9);
Tailwind
colors: {
  custom: {
    50: '#5b4764',
    500: '#1e022b',
    950: '#000000',
  },
}
SCSS
$custom: #1e022b;
$custom-light: #5b4764;
$custom-dark: #000000;
JSON
{
  "hex": "#1e022b",
  "rgb": {
    "r": 30,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 280.976,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18132,
    "c": 0.08293,
    "h": 312.9
  },
  "luminance": 0.00494
}

Semantic roles & 50–950 ramp

primary
#1E022B
secondary
#347019
accent
#FF296D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1E022B

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

Preview Lab → · Contrast checker → · Palette generator →

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