#1E072F#1E072F

#1E072F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.077 H 307.0°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#1E072F
RGBrgb(30, 7, 47)
HSLhsl(275, 74%, 11%)
HSVhsv(275, 85%, 18%)
CMYKcmyk(36.2%, 85.1%, 0%, 81.6%)
CIE-LABlab(5.72, 20.31, -21.24)
CIE-LCHlch(5.72, 29.39, 313.71°)
OKLaboklab(19.45% 0.0464 -0.0616)
OKLCHoklch(19.45% 0.077 307)
XYZxyz(1.1244, 0.6332, 2.7518)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E072F #182F07
analogous
#0A072F #1E072F #2F072C
triadic
#1E072F #2F1E07 #072F1E
tetradic
#1E072F #2F0A07 #182F07 #072C2F
square
#1E072F #2F0A07 #182F07 #072C2F
split-complementary
#1E072F #2C2F07 #072F0A
monochromatic
#11041B #11041B #1E072F #400F64 #62179A

Accessibility & contrast

On white

18.64
#1E072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E072F
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E072F#FFFFFF#000000##FFFFFF
##1E072F1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#00132E
Tritanopia (blue-blind)
#1B101A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e072f;
/* rgb */ color: rgb(30, 7, 47);
/* oklch */ color: oklch(19.5% 0.077 307.0);
Tailwind
colors: {
  custom: {
    50: '#5b4968',
    500: '#1e072f',
    950: '#000000',
  },
}
SCSS
$custom: #1e072f;
$custom-light: #5b4968;
$custom-dark: #000000;
JSON
{
  "hex": "#1e072f",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 274.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19451,
    "c": 0.07708,
    "h": 307
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#1E072F
secondary
#436F23
accent
#F13786
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1E072F

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

Preview Lab → · Contrast checker → · Palette generator →

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