#1E072A#1E072A

#1E072A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.071 H 311.9°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#1E072A
RGBrgb(30, 7, 42)
HSLhsl(279, 71%, 10%)
HSVhsv(279, 83%, 16%)
CMYKcmyk(28.6%, 83.3%, 0%, 83.5%)
CIE-LABlab(5.38, 18.48, -18.03)
CIE-LCHlch(5.38, 25.82, 315.70°)
OKLaboklab(19% 0.0471 -0.0526)
OKLCHoklch(19% 0.071 311.9)
XYZxyz(1.0292, 0.5952, 2.2507)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E072A #132A07
analogous
#0D072A #1E072A #2A0725
triadic
#1E072A #2A1E07 #072A1E
tetradic
#1E072A #2A0D07 #132A07 #07252A
square
#1E072A #2A0D07 #132A07 #07252A
split-complementary
#1E072A #252A07 #072A0D
monochromatic
#13041A #13041A #1E072A #43105E #691893

Accessibility & contrast

On white

18.77
#1E072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E072A
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E072A#FFFFFF#000000##FFFFFF
##1E072A1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#041229
Tritanopia (blue-blind)
#1D0E17
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e072a;
/* rgb */ color: rgb(30, 7, 42);
/* oklch */ color: oklch(19.0% 0.071 311.9);
Tailwind
colors: {
  custom: {
    50: '#5b4963',
    500: '#1e072a',
    950: '#000000',
  },
}
SCSS
$custom: #1e072a;
$custom-light: #5b4963;
$custom-dark: #000000;
JSON
{
  "hex": "#1e072a",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 279.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18999,
    "c": 0.07064,
    "h": 311.9
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#1E072A
secondary
#3B6A23
accent
#EE3A78
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #1E072A

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

Preview Lab → · Contrast checker → · Palette generator →

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