#1E0D4C#1E0D4C

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

Color values

HEX#1E0D4C
RGBrgb(30, 13, 76)
HSLhsl(256, 71%, 17%)
HSVhsv(256, 83%, 30%)
CMYKcmyk(60.5%, 82.9%, 0%, 70.2%)
CIE-LABlab(9.69, 26.95, -35.61)
CIE-LCHlch(9.69, 44.66, 307.11°)
OKLaboklab(23.35% 0.0318 -0.1025)
OKLCHoklch(23.35% 0.107 287.2)
XYZxyz(1.9835, 1.0856, 6.9411)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D4C #3B4C0D
analogous
#0D1C4C #1E0D4C #3D0D4C
triadic
#1E0D4C #4C1E0D #0D4C1E
tetradic
#1E0D4C #4C0D1C #3B4C0D #0D4C3D
square
#1E0D4C #4C0D1C #3B4C0D #0D4C3D
split-complementary
#1E0D4C #4C3D0D #1C4C0D
monochromatic
#0A041A #0A041A #1E0D4C #331680 #471FB5

Accessibility & contrast

On white

17.25
#1E0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0D4C
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D4C#FFFFFF#000000##FFFFFF
##1E0D4C1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00194B
Tritanopia (blue-blind)
#0A1F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e0d4c;
/* rgb */ color: rgb(30, 13, 76);
/* oklch */ color: oklch(23.3% 0.107 287.2);
Tailwind
colors: {
  custom: {
    50: '#604e7f',
    500: '#1e0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d4c;
$custom-light: #604e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d4c",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 256.19,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23346,
    "c": 0.10727,
    "h": 287.2
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#1E0D4C
secondary
#6F872E
accent
#EE3ABD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1E0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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