#1E0E4A#1E0E4A

#1E0E4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.103 H 287.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1E0E4A
RGBrgb(30, 14, 74)
HSLhsl(256, 68%, 17%)
HSVhsv(256, 81%, 29%)
CMYKcmyk(59.5%, 81.1%, 0%, 71%)
CIE-LABlab(9.68, 25.69, -34.24)
CIE-LCHlch(9.68, 42.81, 306.89°)
OKLaboklab(23.27% 0.0314 -0.0984)
OKLCHoklch(23.27% 0.103 287.7)
XYZxyz(1.9281, 1.0844, 6.5850)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0E4A #3A4A0E
analogous
#0E1C4A #1E0E4A #3C0E4A
triadic
#1E0E4A #4A1E0E #0E4A1E
tetradic
#1E0E4A #4A0E1C #3A4A0E #0E4A3C
square
#1E0E4A #4A0E1C #3A4A0E #0E4A3C
split-complementary
#1E0E4A #4A3C0E #1C4A0E
monochromatic
#0A051A #0A051A #1E0E4A #33187D #4821B1

Accessibility & contrast

On white

17.26
#1E0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1E0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0E4A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0E4A#FFFFFF#000000##FFFFFF
##1E0E4A1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#0C1E2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e0e4a;
/* rgb */ color: rgb(30, 14, 74);
/* oklch */ color: oklch(23.3% 0.103 287.7);
Tailwind
colors: {
  custom: {
    50: '#604e7d',
    500: '#1e0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #1e0e4a;
$custom-light: #604e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0e4a",
  "rgb": {
    "r": 30,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 256,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23273,
    "c": 0.10334,
    "h": 287.7
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#1E0E4A
secondary
#6E852F
accent
#EB3DBD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1E0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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