#1E0127#1E0127

#1E0127 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.5% C 0.081 H 317.4°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#1E0127
RGBrgb(30, 1, 39)
HSLhsl(286, 95%, 8%)
HSVhsv(286, 97%, 15%)
CMYKcmyk(23.1%, 97.4%, 0%, 84.7%)
CIE-LABlab(4.01, 20.00, -17.88)
CIE-LCHlch(4.01, 26.83, 318.20°)
OKLaboklab(17.53% 0.0599 -0.055)
OKLCHoklch(17.53% 0.081 317.4)
XYZxyz(0.9124, 0.4443, 1.9567)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0127 #0A2701
analogous
#0B0127 #1E0127 #27011D
triadic
#1E0127 #271E01 #01271E
tetradic
#1E0127 #270B01 #0A2701 #011D27
square
#1E0127 #270B01 #0A2701 #011D27
split-complementary
#1E0127 #1D2701 #01270B
monochromatic
#17011E #17011E #1E0127 #4C0363 #7A049E

Accessibility & contrast

On white

19.29
#1E0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0127
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0127#FFFFFF#000000##FFFFFF
##1E01271.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#010F26
Tritanopia (blue-blind)
#1E0713
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1e0127;
/* rgb */ color: rgb(30, 1, 39);
/* oklch */ color: oklch(17.5% 0.081 317.4);
Tailwind
colors: {
  custom: {
    50: '#5a4661',
    500: '#1e0127',
    950: '#000000',
  },
}
SCSS
$custom: #1e0127;
$custom-light: #5a4661;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0127",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 285.789,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17534,
    "c": 0.08132,
    "h": 317.4
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#1E0127
secondary
#2B6E16
accent
#FF295C
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040005
muted
#797779

Preview Lab

Preview with #1E0127

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

Preview Lab → · Contrast checker → · Palette generator →

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