#1E0D49#1E0D49

#1E0D49 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.103 H 288.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#1E0D49
RGBrgb(30, 13, 73)
HSLhsl(257, 70%, 17%)
HSVhsv(257, 82%, 29%)
CMYKcmyk(58.9%, 82.2%, 0%, 71.4%)
CIE-LABlab(9.36, 25.95, -34.06)
CIE-LCHlch(9.36, 42.82, 307.31°)
OKLaboklab(23.02% 0.0326 -0.0979)
OKLCHoklch(23.02% 0.103 288.4)
XYZxyz(1.8816, 1.0448, 6.4046)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D49 #38490D
analogous
#0D1A49 #1E0D49 #3C0D49
triadic
#1E0D49 #491E0D #0D491E
tetradic
#1E0D49 #490D1A #38490D #0D493C
square
#1E0D49 #490D1A #38490D #0D493C
split-complementary
#1E0D49 #493C0D #1A490D
monochromatic
#0B051A #0B051A #1E0D49 #33167D #4920B1

Accessibility & contrast

On white

17.37
#1E0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1E0D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0D49
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D49#FFFFFF#000000##FFFFFF
##1E0D491.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001948
Tritanopia (blue-blind)
#0D1D2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e0d49;
/* rgb */ color: rgb(30, 13, 73);
/* oklch */ color: oklch(23.0% 0.103 288.4);
Tailwind
colors: {
  custom: {
    50: '#604d7c',
    500: '#1e0d49',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d49;
$custom-light: #604d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d49",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 257,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23017,
    "c": 0.10322,
    "h": 288.4
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#1E0D49
secondary
#6C842D
accent
#ED3BBA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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