#1E0B4D#1E0B4D

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

Color values

HEX#1E0B4D
RGBrgb(30, 11, 77)
HSLhsl(257, 75%, 17%)
HSVhsv(257, 86%, 30%)
CMYKcmyk(61%, 85.7%, 0%, 69.8%)
CIE-LABlab(9.41, 28.38, -36.76)
CIE-LCHlch(9.41, 46.44, 307.67°)
OKLaboklab(23.19% 0.0331 -0.1058)
OKLCHoklch(23.19% 0.111 287.4)
XYZxyz(1.9942, 1.0511, 7.1175)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0B4D #3A4D0B
analogous
#0B194D #1E0B4D #3F0B4D
triadic
#1E0B4D #4D1E0B #0B4D1E
tetradic
#1E0B4D #4D0B19 #3A4D0B #0B4D3F
square
#1E0B4D #4D0B19 #3A4D0B #0B4D3F
split-complementary
#1E0B4D #4D3F0B #194D0B
monochromatic
#0A041B #0A041B #1E0B4D #331383 #481AB8

Accessibility & contrast

On white

17.35
#1E0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0B4D
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0B4D#FFFFFF#000000##FFFFFF
##1E0B4D1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#091E2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e0b4d;
/* rgb */ color: rgb(30, 11, 77);
/* oklch */ color: oklch(23.2% 0.111 287.4);
Tailwind
colors: {
  custom: {
    50: '#614d80',
    500: '#1e0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #1e0b4d;
$custom-light: #614d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0b4d",
  "rgb": {
    "r": 30,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 257.273,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23187,
    "c": 0.11085,
    "h": 287.4
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#1E0B4D
secondary
#6E892B
accent
#F236BC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1E0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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