#1E0126#1E0126

#1E0126 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.4% C 0.080 H 318.5°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#1E0126
RGBrgb(30, 1, 38)
HSLhsl(287, 95%, 8%)
HSVhsv(287, 97%, 15%)
CMYKcmyk(21.1%, 97.4%, 0%, 85.1%)
CIE-LABlab(3.95, 19.62, -17.20)
CIE-LCHlch(3.95, 26.09, 318.75°)
OKLaboklab(17.44% 0.0601 -0.0532)
OKLCHoklch(17.44% 0.08 318.5)
XYZxyz(0.8961, 0.4377, 1.8706)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0126 #092601
analogous
#0B0126 #1E0126 #26011B
triadic
#1E0126 #261E01 #01261E
tetradic
#1E0126 #260B01 #092601 #011B26
square
#1E0126 #260B01 #092601 #011B26
split-complementary
#1E0126 #1B2601 #01260B
monochromatic
#18011E #18011E #1E0126 #4D0362 #7C049D

Accessibility & contrast

On white

19.31
#1E0126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0126
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0126#FFFFFF#000000##FFFFFF
##1E01261.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C27
Deuteranopia (green-blind)
#020F25
Tritanopia (blue-blind)
#1E0712
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1e0126;
/* rgb */ color: rgb(30, 1, 38);
/* oklch */ color: oklch(17.4% 0.080 318.5);
Tailwind
colors: {
  custom: {
    50: '#5a4660',
    500: '#1e0126',
    950: '#000000',
  },
}
SCSS
$custom: #1e0126;
$custom-light: #5a4660;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0126",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 287.027,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17439,
    "c": 0.08032,
    "h": 318.5
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#1E0126
secondary
#296D16
accent
#FF2957
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #1E0126

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

Preview Lab → · Contrast checker → · Palette generator →

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