#1E042B#1E042B

#1E042B is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.078 H 312.1°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#1E042B
RGBrgb(30, 4, 43)
HSLhsl(280, 83%, 9%)
HSVhsv(280, 91%, 17%)
CMYKcmyk(30.2%, 90.7%, 0%, 83.1%)
CIE-LABlab(4.85, 20.21, -19.61)
CIE-LCHlch(4.85, 28.17, 315.86°)
OKLaboklab(18.53% 0.0525 -0.0581)
OKLCHoklch(18.53% 0.078 312.1)
XYZxyz(1.0148, 0.5373, 2.3353)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E042B #112B04
analogous
#0B042B #1E042B #2B0425
triadic
#1E042B #2B1E04 #042B1E
tetradic
#1E042B #2B0B04 #112B04 #04252B
square
#1E042B #2B0B04 #112B04 #04252B
split-complementary
#1E042B #252B04 #042B0B
monochromatic
#14031C #14031C #1E042B #450963 #6C0E9B

Accessibility & contrast

On white

18.96
#1E042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E042B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E042B
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E042B#FFFFFF#000000##FFFFFF
##1E042B1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#1C0C16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e042b;
/* rgb */ color: rgb(30, 4, 43);
/* oklch */ color: oklch(18.5% 0.078 312.1);
Tailwind
colors: {
  custom: {
    50: '#5b4864',
    500: '#1e042b',
    950: '#000000',
  },
}
SCSS
$custom: #1e042b;
$custom-light: #5b4864;
$custom-dark: #000000;
JSON
{
  "hex": "#1e042b",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 280,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18526,
    "c": 0.07831,
    "h": 312.1
  },
  "luminance": 0.00537
}

Semantic roles & 50–950 ramp

primary
#1E042B
secondary
#386E1D
accent
#F92E72
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1E042B

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

Preview Lab → · Contrast checker → · Palette generator →

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