#1E073F#1E073F

#1E073F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.098 H 295.4°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#1E073F
RGBrgb(30, 7, 63)
HSLhsl(265, 80%, 14%)
HSVhsv(265, 89%, 25%)
CMYKcmyk(52.4%, 88.9%, 0%, 75.3%)
CIE-LABlab(7.11, 26.05, -30.68)
CIE-LCHlch(7.11, 40.25, 310.33°)
OKLaboklab(21.08% 0.0418 -0.0882)
OKLCHoklch(21.08% 0.098 295.4)
XYZxyz(1.5084, 0.7868, 4.7741)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E073F #283F07
analogous
#070C3F #1E073F #3A073F
triadic
#1E073F #3F1E07 #073F1E
tetradic
#1E073F #3F070C #283F07 #073F3A
square
#1E073F #3F070C #283F07 #073F3A
split-complementary
#1E073F #3F3A07 #0C3F07
monochromatic
#0D031C #0D031C #1E073F #380D76 #5213AD

Accessibility & contrast

On white

18.14
#1E073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1E073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E073F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E073F#FFFFFF#000000##FFFFFF
##1E073F1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#151723
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1e073f;
/* rgb */ color: rgb(30, 7, 63);
/* oklch */ color: oklch(21.1% 0.098 295.4);
Tailwind
colors: {
  custom: {
    50: '#5e4975',
    500: '#1e073f',
    950: '#000000',
  },
}
SCSS
$custom: #1e073f;
$custom-light: #5e4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1e073f",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 264.643,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21084,
    "c": 0.09756,
    "h": 295.4
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#1E073F
secondary
#597E24
accent
#F631A5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E073F

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

Preview Lab → · Contrast checker → · Palette generator →

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