#1E072E#1E072E

#1E072E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.076 H 307.9°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#1E072E
RGBrgb(30, 7, 46)
HSLhsl(275, 74%, 10%)
HSVhsv(275, 85%, 18%)
CMYKcmyk(34.8%, 84.8%, 0%, 82%)
CIE-LABlab(5.65, 19.94, -20.61)
CIE-LCHlch(5.65, 28.68, 314.05°)
OKLaboklab(19.36% 0.0466 -0.0598)
OKLCHoklch(19.36% 0.076 307.9)
XYZxyz(1.1044, 0.6253, 2.6467)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E072E #172E07
analogous
#0B072E #1E072E #2E072A
triadic
#1E072E #2E1E07 #072E1E
tetradic
#1E072E #2E0B07 #172E07 #072A2E
square
#1E072E #2E0B07 #172E07 #072A2E
split-complementary
#1E072E #2A2E07 #072E0B
monochromatic
#11041B #11041B #1E072E #410F63 #631798

Accessibility & contrast

On white

18.67
#1E072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E072E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E072E
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E072E#FFFFFF#000000##FFFFFF
##1E072E1.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#1B1019
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e072e;
/* rgb */ color: rgb(30, 7, 46);
/* oklch */ color: oklch(19.4% 0.076 307.9);
Tailwind
colors: {
  custom: {
    50: '#5b4967',
    500: '#1e072e',
    950: '#000000',
  },
}
SCSS
$custom: #1e072e;
$custom-light: #5b4967;
$custom-dark: #000000;
JSON
{
  "hex": "#1e072e",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 275.385,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19358,
    "c": 0.07579,
    "h": 307.9
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#1E072E
secondary
#426E23
accent
#F03883
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1E072E

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

Preview Lab → · Contrast checker → · Palette generator →

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