#1E012A#1E012A

#1E012A is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.8% C 0.084 H 314.3°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#1E012A
RGBrgb(30, 1, 42)
HSLhsl(282, 95%, 8%)
HSVhsv(282, 98%, 16%)
CMYKcmyk(28.6%, 97.6%, 0%, 83.5%)
CIE-LABlab(4.20, 21.17, -19.89)
CIE-LCHlch(4.20, 29.04, 316.79°)
OKLaboklab(17.83% 0.0589 -0.0604)
OKLCHoklch(17.83% 0.084 314.3)
XYZxyz(0.9641, 0.4649, 2.2290)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E012A #0D2A01
analogous
#09012A #1E012A #2A0121
triadic
#1E012A #2A1E01 #012A1E
tetradic
#1E012A #2A0901 #0D2A01 #01212A
square
#1E012A #2A0901 #0D2A01 #01212A
split-complementary
#1E012A #212A01 #012A09
monochromatic
#15011E #15011E #1E012A #490266 #7304A2

Accessibility & contrast

On white

19.21
#1E012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1E012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E012A
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E012A#FFFFFF#000000##FFFFFF
##1E012A1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#1D0915
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1e012a;
/* rgb */ color: rgb(30, 1, 42);
/* oklch */ color: oklch(17.8% 0.084 314.3);
Tailwind
colors: {
  custom: {
    50: '#5b4664',
    500: '#1e012a',
    950: '#000000',
  },
}
SCSS
$custom: #1e012a;
$custom-light: #5b4664;
$custom-dark: #000000;
JSON
{
  "hex": "#1e012a",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 282.439,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17828,
    "c": 0.08435,
    "h": 314.3
  },
  "luminance": 0.00465
}

Semantic roles & 50–950 ramp

primary
#1E012A
secondary
#317016
accent
#FF2967
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #1E012A

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

Preview Lab → · Contrast checker → · Palette generator →

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