#1E0D4F#1E0D4F

#1E0D4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.111 H 286.1°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#1E0D4F
RGBrgb(30, 13, 79)
HSLhsl(255, 72%, 18%)
HSVhsv(255, 84%, 31%)
CMYKcmyk(62%, 83.5%, 0%, 69%)
CIE-LABlab(10.02, 27.94, -37.14)
CIE-LCHlch(10.02, 46.47, 306.95°)
OKLaboklab(23.68% 0.0308 -0.1069)
OKLCHoklch(23.68% 0.111 286.1)
XYZxyz(2.0902, 1.1283, 7.5033)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D4F #3E4F0D
analogous
#0D1D4F #1E0D4F #3F0D4F
triadic
#1E0D4F #4F1E0D #0D4F1E
tetradic
#1E0D4F #4F0D1D #3E4F0D #0D4F3F
square
#1E0D4F #4F0D1D #3E4F0D #0D4F3F
split-complementary
#1E0D4F #4F3F0D #1D4F0D
monochromatic
#0A041A #0A041A #1E0D4F #321684 #461EB8

Accessibility & contrast

On white

17.13
#1E0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1E0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0D4F
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D4F#FFFFFF#000000##FFFFFF
##1E0D4F1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#07202D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1e0d4f;
/* rgb */ color: rgb(30, 13, 79);
/* oklch */ color: oklch(23.7% 0.111 286.1);
Tailwind
colors: {
  custom: {
    50: '#614e81',
    500: '#1e0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d4f;
$custom-light: #614e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d4f",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 255.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23679,
    "c": 0.11128,
    "h": 286.1
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#1E0D4F
secondary
#728A2E
accent
#EE39C0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1E0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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