#1E073E#1E073E

#1E073E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.096 H 296.0°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#1E073E
RGBrgb(30, 7, 62)
HSLhsl(265, 80%, 14%)
HSVhsv(265, 89%, 24%)
CMYKcmyk(51.6%, 88.7%, 0%, 75.7%)
CIE-LABlab(7.01, 25.71, -30.13)
CIE-LCHlch(7.01, 39.61, 310.47°)
OKLaboklab(20.98% 0.0422 -0.0866)
OKLCHoklch(20.98% 0.096 296)
XYZxyz(1.4807, 0.7757, 4.6282)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E073E #273E07
analogous
#070B3E #1E073E #39073E
triadic
#1E073E #3E1E07 #073E1E
tetradic
#1E073E #3E070B #273E07 #073E39
square
#1E073E #3E070B #273E07 #073E39
split-complementary
#1E073E #3E3907 #0B3E07
monochromatic
#0D031B #0D031B #1E073E #390D75 #5313AC

Accessibility & contrast

On white

18.18
#1E073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E073E
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E073E#FFFFFF#000000##FFFFFF
##1E073E1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#151622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1e073e;
/* rgb */ color: rgb(30, 7, 62);
/* oklch */ color: oklch(21.0% 0.096 296.0);
Tailwind
colors: {
  custom: {
    50: '#5e4974',
    500: '#1e073e',
    950: '#000000',
  },
}
SCSS
$custom: #1e073e;
$custom-light: #5e4974;
$custom-dark: #000000;
JSON
{
  "hex": "#1e073e",
  "rgb": {
    "r": 30,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 265.091,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20975,
    "c": 0.09629,
    "h": 296
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#1E073E
secondary
#587D24
accent
#F632A4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1E073E

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

Preview Lab → · Contrast checker → · Palette generator →

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