#1E0D47#1E0D47

#1E0D47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.100 H 289.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#1E0D47
RGBrgb(30, 13, 71)
HSLhsl(258, 69%, 16%)
HSVhsv(258, 82%, 28%)
CMYKcmyk(57.7%, 81.7%, 0%, 72.2%)
CIE-LABlab(9.15, 25.29, -33.01)
CIE-LCHlch(9.15, 41.58, 307.45°)
OKLaboklab(22.8% 0.0332 -0.0948)
OKLCHoklch(22.8% 0.1 289.3)
XYZxyz(1.8163, 1.0187, 6.0609)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D47 #36470D
analogous
#0D1947 #1E0D47 #3B0D47
triadic
#1E0D47 #471E0D #0D471E
tetradic
#1E0D47 #470D19 #36470D #0D473B
square
#1E0D47 #470D19 #36470D #0D473B
split-complementary
#1E0D47 #473B0D #19470D
monochromatic
#0B051A #0B051A #1E0D47 #34167B #4A20AE

Accessibility & contrast

On white

17.44
#1E0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1E0D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0D47
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D47#FFFFFF#000000##FFFFFF
##1E0D471.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#0F1D29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e0d47;
/* rgb */ color: rgb(30, 13, 71);
/* oklch */ color: oklch(22.8% 0.100 289.3);
Tailwind
colors: {
  custom: {
    50: '#5f4d7b',
    500: '#1e0d47',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d47;
$custom-light: #5f4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d47",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 257.586,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22802,
    "c": 0.10049,
    "h": 289.3
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#1E0D47
secondary
#69822D
accent
#EC3CB8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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