#1E073D#1E073D

#1E073D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.095 H 296.6°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#1E073D
RGBrgb(30, 7, 61)
HSLhsl(266, 79%, 13%)
HSVhsv(266, 89%, 24%)
CMYKcmyk(50.8%, 88.5%, 0%, 76.1%)
CIE-LABlab(6.91, 25.36, -29.57)
CIE-LCHlch(6.91, 38.96, 310.61°)
OKLaboklab(20.87% 0.0425 -0.085)
OKLCHoklch(20.87% 0.095 296.6)
XYZxyz(1.4535, 0.7649, 4.4850)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E073D #263D07
analogous
#070B3D #1E073D #39073D
triadic
#1E073D #3D1E07 #073D1E
tetradic
#1E073D #3D070B #263D07 #073D39
square
#1E073D #3D070B #263D07 #073D39
split-complementary
#1E073D #3D3907 #0B3D07
monochromatic
#0E031B #0E031B #1E073D #390D74 #5414AB

Accessibility & contrast

On white

18.21
#1E073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1E073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E073D
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E073D#FFFFFF#000000##FFFFFF
##1E073D1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163F
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#161622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e073d;
/* rgb */ color: rgb(30, 7, 61);
/* oklch */ color: oklch(20.9% 0.095 296.6);
Tailwind
colors: {
  custom: {
    50: '#5e4973',
    500: '#1e073d',
    950: '#000000',
  },
}
SCSS
$custom: #1e073d;
$custom-light: #5e4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1e073d",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 265.556,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20867,
    "c": 0.09502,
    "h": 296.6
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#1E073D
secondary
#567C23
accent
#F632A2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E073D

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

Preview Lab → · Contrast checker → · Palette generator →

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