#1E033A#1E033A

#1E033A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.098 H 300.0°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#1E033A
RGBrgb(30, 3, 58)
HSLhsl(269, 90%, 12%)
HSVhsv(269, 95%, 23%)
CMYKcmyk(48.3%, 94.8%, 0%, 77.3%)
CIE-LABlab(5.84, 26.39, -29.14)
CIE-LCHlch(5.84, 39.32, 312.16°)
OKLaboklab(19.9% 0.0488 -0.0845)
OKLCHoklch(19.9% 0.098 300)
XYZxyz(1.3315, 0.6466, 4.0568)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E033A #1F3A03
analogous
#03033A #1E033A #3A033A
triadic
#1E033A #3A1E03 #033A1E
tetradic
#1E033A #3A0303 #1F3A03 #033A3A
square
#1E033A #3A0303 #1F3A03 #033A3A
split-complementary
#1E033A #3A3A03 #033A03
monochromatic
#0F021D #0F021D #1E033A #3C0674 #5A09AE

Accessibility & contrast

On white

18.59
#1E033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E033A
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E033A#FFFFFF#000000##FFFFFF
##1E033A1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#17121F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e033a;
/* rgb */ color: rgb(30, 3, 58);
/* oklch */ color: oklch(19.9% 0.098 300.0);
Tailwind
colors: {
  custom: {
    50: '#5e4771',
    500: '#1e033a',
    950: '#000000',
  },
}
SCSS
$custom: #1e033a;
$custom-light: #5e4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1e033a",
  "rgb": {
    "r": 30,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 269.455,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19904,
    "c": 0.09763,
    "h": 300
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#1E033A
secondary
#4D7D1C
accent
#FF2996
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #1E033A

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

Preview Lab → · Contrast checker → · Palette generator →

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