#1E0728#1E0728

#1E0728 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.8% C 0.068 H 314.0°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#1E0728
RGBrgb(30, 7, 40)
HSLhsl(282, 70%, 9%)
HSVhsv(282, 83%, 16%)
CMYKcmyk(25%, 82.5%, 0%, 84.3%)
CIE-LABlab(5.25, 17.76, -16.71)
CIE-LCHlch(5.25, 24.39, 316.73°)
OKLaboklab(18.83% 0.0473 -0.0489)
OKLCHoklch(18.83% 0.068 314)
XYZxyz(0.9943, 0.5812, 2.0669)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0728 #112807
analogous
#0E0728 #1E0728 #280722
triadic
#1E0728 #281E07 #07281E
tetradic
#1E0728 #280E07 #112807 #072228
square
#1E0728 #280E07 #112807 #072228
split-complementary
#1E0728 #222807 #07280E
monochromatic
#14051A #14051A #1E0728 #45105C #6C1990

Accessibility & contrast

On white

18.81
#1E0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1E0728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0728
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0728#FFFFFF#000000##FFFFFF
##1E07281.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#061227
Tritanopia (blue-blind)
#1D0D16
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e0728;
/* rgb */ color: rgb(30, 7, 40);
/* oklch */ color: oklch(18.8% 0.068 314.0);
Tailwind
colors: {
  custom: {
    50: '#5a4962',
    500: '#1e0728',
    950: '#000000',
  },
}
SCSS
$custom: #1e0728;
$custom-light: #5a4962;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0728",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 281.818,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18827,
    "c": 0.06808,
    "h": 314
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#1E0728
secondary
#386823
accent
#ED3B71
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #1E0728

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

Preview Lab → · Contrast checker → · Palette generator →

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