#1E0428#1E0428

#1E0428 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.075 H 315.2°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#1E0428
RGBrgb(30, 4, 40)
HSLhsl(283, 82%, 9%)
HSVhsv(283, 90%, 16%)
CMYKcmyk(25%, 90%, 0%, 84.3%)
CIE-LABlab(4.66, 19.09, -17.63)
CIE-LCHlch(4.66, 25.99, 317.27°)
OKLaboklab(18.25% 0.0531 -0.0527)
OKLCHoklch(18.25% 0.075 315.2)
XYZxyz(0.9618, 0.5161, 2.0560)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0428 #0E2804
analogous
#0C0428 #1E0428 #280420
triadic
#1E0428 #281E04 #04281E
tetradic
#1E0428 #280C04 #0E2804 #042028
square
#1E0428 #280C04 #0E2804 #042028
split-complementary
#1E0428 #202804 #04280C
monochromatic
#15031C #15031C #1E0428 #480A60 #710F97

Accessibility & contrast

On white

19.04
#1E0428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0428
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0428#FFFFFF#000000##FFFFFF
##1E04281.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#031127
Tritanopia (blue-blind)
#1D0B15
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1e0428;
/* rgb */ color: rgb(30, 4, 40);
/* oklch */ color: oklch(18.2% 0.075 315.2);
Tailwind
colors: {
  custom: {
    50: '#5a4862',
    500: '#1e0428',
    950: '#000000',
  },
}
SCSS
$custom: #1e0428;
$custom-light: #5a4862;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0428",
  "rgb": {
    "r": 30,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 283.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18249,
    "c": 0.07482,
    "h": 315.2
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#1E0428
secondary
#336B1D
accent
#F83067
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #1E0428

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

Preview Lab → · Contrast checker → · Palette generator →

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