#1E072B#1E072B

#1E072B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.072 H 310.8°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#1E072B
RGBrgb(30, 7, 43)
HSLhsl(278, 72%, 10%)
HSVhsv(278, 84%, 17%)
CMYKcmyk(30.2%, 83.7%, 0%, 83.1%)
CIE-LABlab(5.44, 18.85, -18.69)
CIE-LCHlch(5.44, 26.54, 315.24°)
OKLaboklab(19.09% 0.047 -0.0544)
OKLCHoklch(19.09% 0.072 310.8)
XYZxyz(1.0474, 0.6024, 2.3461)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E072B #142B07
analogous
#0C072B #1E072B #2B0726
triadic
#1E072B #2B1E07 #072B1E
tetradic
#1E072B #2B0C07 #142B07 #07262B
square
#1E072B #2B0C07 #142B07 #07262B
split-complementary
#1E072B #262B07 #072B0C
monochromatic
#12041A #12041A #1E072B #431060 #671894

Accessibility & contrast

On white

18.74
#1E072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E072B
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E072B#FFFFFF#000000##FFFFFF
##1E072B1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#04122A
Tritanopia (blue-blind)
#1C0E18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1e072b;
/* rgb */ color: rgb(30, 7, 43);
/* oklch */ color: oklch(19.1% 0.072 310.8);
Tailwind
colors: {
  custom: {
    50: '#5b4964',
    500: '#1e072b',
    950: '#000000',
  },
}
SCSS
$custom: #1e072b;
$custom-light: #5b4964;
$custom-dark: #000000;
JSON
{
  "hex": "#1e072b",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 278.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19087,
    "c": 0.07193,
    "h": 310.8
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#1E072B
secondary
#3D6B23
accent
#EF397B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #1E072B

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

Preview Lab → · Contrast checker → · Palette generator →

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