#1E072D#1E072D

#1E072D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.074 H 308.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#1E072D
RGBrgb(30, 7, 45)
HSLhsl(276, 73%, 10%)
HSVhsv(276, 84%, 18%)
CMYKcmyk(33.3%, 84.4%, 0%, 82.4%)
CIE-LABlab(5.58, 19.57, -19.97)
CIE-LCHlch(5.58, 27.97, 314.42°)
OKLaboklab(19.27% 0.0467 -0.058)
OKLCHoklch(19.27% 0.075 308.9)
XYZxyz(1.0850, 0.6175, 2.5441)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E072D #162D07
analogous
#0B072D #1E072D #2D0729
triadic
#1E072D #2D1E07 #072D1E
tetradic
#1E072D #2D0B07 #162D07 #07292D
square
#1E072D #2D0B07 #162D07 #07292D
split-complementary
#1E072D #292D07 #072D0B
monochromatic
#12041A #12041A #1E072D #410F62 #651797

Accessibility & contrast

On white

18.69
#1E072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E072D
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E072D#FFFFFF#000000##FFFFFF
##1E072D1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#02132C
Tritanopia (blue-blind)
#1C0F19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e072d;
/* rgb */ color: rgb(30, 7, 45);
/* oklch */ color: oklch(19.3% 0.074 308.9);
Tailwind
colors: {
  custom: {
    50: '#5b4966',
    500: '#1e072d',
    950: '#000000',
  },
}
SCSS
$custom: #1e072d;
$custom-light: #5b4966;
$custom-dark: #000000;
JSON
{
  "hex": "#1e072d",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 276.316,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19266,
    "c": 0.0745,
    "h": 308.9
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#1E072D
secondary
#406D23
accent
#F03881
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1E072D

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

Preview Lab → · Contrast checker → · Palette generator →

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