#1E012C#1E012C

#1E012C is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.0% C 0.086 H 312.3°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#1E012C
RGBrgb(30, 1, 44)
HSLhsl(280, 96%, 9%)
HSVhsv(280, 98%, 17%)
CMYKcmyk(31.8%, 97.7%, 0%, 82.7%)
CIE-LABlab(4.33, 21.95, -21.19)
CIE-LCHlch(4.33, 30.51, 316.01°)
OKLaboklab(18.03% 0.0581 -0.0639)
OKLCHoklch(18.03% 0.086 312.3)
XYZxyz(1.0008, 0.4796, 2.4222)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E012C #0F2C01
analogous
#09012C #1E012C #2C0125
triadic
#1E012C #2C1E01 #012C1E
tetradic
#1E012C #2C0901 #0F2C01 #01252C
square
#1E012C #2C0901 #0F2C01 #01252C
split-complementary
#1E012C #252C01 #012C09
monochromatic
#14011E #14011E #1E012C #470268 #7004A4

Accessibility & contrast

On white

19.16
#1E012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E012C
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E012C#FFFFFF#000000##FFFFFF
##1E012C1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e012c;
/* rgb */ color: rgb(30, 1, 44);
/* oklch */ color: oklch(18.0% 0.086 312.3);
Tailwind
colors: {
  custom: {
    50: '#5b4665',
    500: '#1e012c',
    950: '#000000',
  },
}
SCSS
$custom: #1e012c;
$custom-light: #5b4665;
$custom-dark: #000000;
JSON
{
  "hex": "#1e012c",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 280.465,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1803,
    "c": 0.08639,
    "h": 312.3
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#1E012C
secondary
#347217
accent
#FF296F
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1E012C

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

Preview Lab → · Contrast checker → · Palette generator →

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