#1E0D4B#1E0D4B

#1E0D4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.106 H 287.6°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#1E0D4B
RGBrgb(30, 13, 75)
HSLhsl(256, 70%, 17%)
HSVhsv(256, 83%, 29%)
CMYKcmyk(60%, 82.7%, 0%, 70.6%)
CIE-LABlab(9.58, 26.61, -35.10)
CIE-LCHlch(9.58, 44.05, 307.17°)
OKLaboklab(23.24% 0.0321 -0.101)
OKLCHoklch(23.24% 0.106 287.6)
XYZxyz(1.9490, 1.0718, 6.7594)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D4B #3A4B0D
analogous
#0D1B4B #1E0D4B #3D0D4B
triadic
#1E0D4B #4B1E0D #0D4B1E
tetradic
#1E0D4B #4B0D1B #3A4B0D #0D4B3D
square
#1E0D4B #4B0D1B #3A4B0D #0D4B3D
split-complementary
#1E0D4B #4B3D0D #1B4B0D
monochromatic
#0A051A #0A051A #1E0D4B #33167F #481FB3

Accessibility & contrast

On white

17.29
#1E0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0D4B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D4B#FFFFFF#000000##FFFFFF
##1E0D4B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#0B1E2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e0d4b;
/* rgb */ color: rgb(30, 13, 75);
/* oklch */ color: oklch(23.2% 0.106 287.6);
Tailwind
colors: {
  custom: {
    50: '#604d7e',
    500: '#1e0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d4b;
$custom-light: #604d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d4b",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 256.452,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23235,
    "c": 0.10593,
    "h": 287.6
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#1E0D4B
secondary
#6E862E
accent
#ED3BBC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1E0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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