#1E052A#1E052A

#1E052A is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.6% C 0.075 H 312.7°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#1E052A
RGBrgb(30, 5, 42)
HSLhsl(281, 79%, 9%)
HSVhsv(281, 88%, 16%)
CMYKcmyk(28.6%, 88.1%, 0%, 83.5%)
CIE-LABlab(4.98, 19.38, -18.65)
CIE-LCHlch(4.98, 26.90, 316.11°)
OKLaboklab(18.63% 0.0508 -0.0551)
OKLCHoklch(18.63% 0.075 312.7)
XYZxyz(1.0075, 0.5518, 2.2435)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E052A #112A05
analogous
#0C052A #1E052A #2A0524
triadic
#1E052A #2A1E05 #052A1E
tetradic
#1E052A #2A0C05 #112A05 #05242A
square
#1E052A #2A0C05 #112A05 #05242A
split-complementary
#1E052A #242A05 #052A0C
monochromatic
#14031B #14031B #1E052A #450C61 #6C1297

Accessibility & contrast

On white

18.91
#1E052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E052A
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E052A#FFFFFF#000000##FFFFFF
##1E052A1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#031129
Tritanopia (blue-blind)
#1D0C16
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e052a;
/* rgb */ color: rgb(30, 5, 42);
/* oklch */ color: oklch(18.6% 0.075 312.7);
Tailwind
colors: {
  custom: {
    50: '#5b4864',
    500: '#1e052a',
    950: '#000000',
  },
}
SCSS
$custom: #1e052a;
$custom-light: #5b4864;
$custom-dark: #000000;
JSON
{
  "hex": "#1e052a",
  "rgb": {
    "r": 30,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 280.541,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18625,
    "c": 0.07491,
    "h": 312.7
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#1E052A
secondary
#386C1F
accent
#F53372
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #1E052A

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

Preview Lab → · Contrast checker → · Palette generator →

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