#1E0D48#1E0D48

#1E0D48 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.102 H 288.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#1E0D48
RGBrgb(30, 13, 72)
HSLhsl(257, 69%, 17%)
HSVhsv(257, 82%, 28%)
CMYKcmyk(58.3%, 81.9%, 0%, 71.8%)
CIE-LABlab(9.25, 25.62, -33.53)
CIE-LCHlch(9.25, 42.20, 307.38°)
OKLaboklab(22.91% 0.0329 -0.0964)
OKLCHoklch(22.91% 0.102 288.9)
XYZxyz(1.8487, 1.0317, 6.2314)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D48 #37480D
analogous
#0D1A48 #1E0D48 #3C0D48
triadic
#1E0D48 #481E0D #0D481E
tetradic
#1E0D48 #480D1A #37480D #0D483C
square
#1E0D48 #480D1A #37480D #0D483C
split-complementary
#1E0D48 #483C0D #1A480D
monochromatic
#0B051A #0B051A #1E0D48 #34167C #4920B0

Accessibility & contrast

On white

17.41
#1E0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0D48
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D48#FFFFFF#000000##FFFFFF
##1E0D481.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#0E1D29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e0d48;
/* rgb */ color: rgb(30, 13, 72);
/* oklch */ color: oklch(22.9% 0.102 288.9);
Tailwind
colors: {
  custom: {
    50: '#604d7c',
    500: '#1e0d48',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d48;
$custom-light: #604d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d48",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 257.288,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22909,
    "c": 0.10185,
    "h": 288.9
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#1E0D48
secondary
#6B832D
accent
#EC3CB9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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