#1E0128#1E0128

#1E0128 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.6% C 0.082 H 316.3°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#1E0128
RGBrgb(30, 1, 40)
HSLhsl(285, 95%, 8%)
HSVhsv(285, 98%, 16%)
CMYKcmyk(25%, 97.5%, 0%, 84.3%)
CIE-LABlab(4.07, 20.39, -18.55)
CIE-LCHlch(4.07, 27.57, 317.69°)
OKLaboklab(17.63% 0.0595 -0.0568)
OKLCHoklch(17.63% 0.082 316.3)
XYZxyz(0.9292, 0.4510, 2.0452)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0128 #0B2801
analogous
#0A0128 #1E0128 #28011E
triadic
#1E0128 #281E01 #01281E
tetradic
#1E0128 #280A01 #0B2801 #011E28
square
#1E0128 #280A01 #0B2801 #011E28
split-complementary
#1E0128 #1E2801 #01280A
monochromatic
#16011E #16011E #1E0128 #4B0264 #78049F

Accessibility & contrast

On white

19.26
#1E0128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0128
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0128#FFFFFF#000000##FFFFFF
##1E01281.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#010F27
Tritanopia (blue-blind)
#1D0813
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1e0128;
/* rgb */ color: rgb(30, 1, 40);
/* oklch */ color: oklch(17.6% 0.082 316.3);
Tailwind
colors: {
  custom: {
    50: '#5a4662',
    500: '#1e0128',
    950: '#000000',
  },
}
SCSS
$custom: #1e0128;
$custom-light: #5a4662;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0128",
  "rgb": {
    "r": 30,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 284.615,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17631,
    "c": 0.08232,
    "h": 316.3
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#1E0128
secondary
#2D6F16
accent
#FF2960
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#040005
muted
#797779

Preview Lab

Preview with #1E0128

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

Preview Lab → · Contrast checker → · Palette generator →

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