#1E012B#1E012B

#1E012B is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.085 H 313.3°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#1E012B
RGBrgb(30, 1, 43)
HSLhsl(281, 95%, 9%)
HSVhsv(281, 98%, 17%)
CMYKcmyk(30.2%, 97.7%, 0%, 83.1%)
CIE-LABlab(4.27, 21.56, -20.54)
CIE-LCHlch(4.27, 29.78, 316.38°)
OKLaboklab(17.93% 0.0585 -0.0622)
OKLCHoklch(17.93% 0.085 313.3)
XYZxyz(0.9822, 0.4722, 2.3244)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E012B #0E2B01
analogous
#09012B #1E012B #2B0123
triadic
#1E012B #2B1E01 #012B1E
tetradic
#1E012B #2B0901 #0E2B01 #01232B
square
#1E012B #2B0901 #0E2B01 #01232B
split-complementary
#1E012B #232B01 #012B09
monochromatic
#15011E #15011E #1E012B #480267 #7104A3

Accessibility & contrast

On white

19.19
#1E012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E012B
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E012B#FFFFFF#000000##FFFFFF
##1E012B1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e012b;
/* rgb */ color: rgb(30, 1, 43);
/* oklch */ color: oklch(17.9% 0.085 313.3);
Tailwind
colors: {
  custom: {
    50: '#5b4664',
    500: '#1e012b',
    950: '#000000',
  },
}
SCSS
$custom: #1e012b;
$custom-light: #5b4664;
$custom-dark: #000000;
JSON
{
  "hex": "#1e012b",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 281.429,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17928,
    "c": 0.08537,
    "h": 313.3
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#1E012B
secondary
#337117
accent
#FF296B
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1E012B

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

Preview Lab → · Contrast checker → · Palette generator →

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