#1E0D4D#1E0D4D

#1E0D4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.109 H 286.8°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#1E0D4D
RGBrgb(30, 13, 77)
HSLhsl(256, 71%, 18%)
HSVhsv(256, 83%, 30%)
CMYKcmyk(61%, 83.1%, 0%, 69.8%)
CIE-LABlab(9.79, 27.28, -36.12)
CIE-LCHlch(9.79, 45.26, 307.06°)
OKLaboklab(23.46% 0.0315 -0.104)
OKLCHoklch(23.46% 0.109 286.8)
XYZxyz(2.0185, 1.0996, 7.1256)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D4D #3C4D0D
analogous
#0D1C4D #1E0D4D #3E0D4D
triadic
#1E0D4D #4D1E0D #0D4D1E
tetradic
#1E0D4D #4D0D1C #3C4D0D #0D4D3E
square
#1E0D4D #4D0D1C #3C4D0D #0D4D3E
split-complementary
#1E0D4D #4D3E0D #1C4D0D
monochromatic
#0A041A #0A041A #1E0D4D #321681 #471FB6

Accessibility & contrast

On white

17.21
#1E0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0D4D
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D4D#FFFFFF#000000##FFFFFF
##1E0D4D1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#091F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e0d4d;
/* rgb */ color: rgb(30, 13, 77);
/* oklch */ color: oklch(23.5% 0.109 286.8);
Tailwind
colors: {
  custom: {
    50: '#614e80',
    500: '#1e0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d4d;
$custom-light: #614e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d4d",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 255.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23456,
    "c": 0.10861,
    "h": 286.8
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#1E0D4D
secondary
#70882E
accent
#EE3ABE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1E0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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