#1E062A#1E062A

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

Color values

HEX#1E062A
RGBrgb(30, 6, 42)
HSLhsl(280, 75%, 9%)
HSVhsv(280, 86%, 16%)
CMYKcmyk(28.6%, 85.7%, 0%, 83.5%)
CIE-LABlab(5.18, 18.93, -18.34)
CIE-LCHlch(5.18, 26.36, 315.91°)
OKLaboklab(18.81% 0.0489 -0.0538)
OKLCHoklch(18.81% 0.073 312.3)
XYZxyz(1.0184, 0.5735, 2.2471)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E062A #122A06
analogous
#0C062A #1E062A #2A0624
triadic
#1E062A #2A1E06 #062A1E
tetradic
#1E062A #2A0C06 #122A06 #06242A
square
#1E062A #2A0C06 #122A06 #06242A
split-complementary
#1E062A #242A06 #062A0C
monochromatic
#13041B #13041B #1E062A #440E60 #6B1595

Accessibility & contrast

On white

18.84
#1E062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1E062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E062A
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E062A#FFFFFF#000000##FFFFFF
##1E062A1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#031229
Tritanopia (blue-blind)
#1D0D17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1e062a;
/* rgb */ color: rgb(30, 6, 42);
/* oklch */ color: oklch(18.8% 0.073 312.3);
Tailwind
colors: {
  custom: {
    50: '#5b4963',
    500: '#1e062a',
    950: '#000000',
  },
}
SCSS
$custom: #1e062a;
$custom-light: #5b4963;
$custom-dark: #000000;
JSON
{
  "hex": "#1e062a",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18814,
    "c": 0.07274,
    "h": 312.3
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#1E062A
secondary
#3A6B21
accent
#F23675
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #1E062A

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

Preview Lab → · Contrast checker → · Palette generator →

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