#1E0B4A#1E0B4A

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

Color values

HEX#1E0B4A
RGBrgb(30, 11, 74)
HSLhsl(258, 74%, 17%)
HSVhsv(258, 85%, 29%)
CMYKcmyk(59.5%, 85.1%, 0%, 71%)
CIE-LABlab(9.07, 27.41, -35.23)
CIE-LCHlch(9.07, 44.64, 307.89°)
OKLaboklab(22.85% 0.0341 -0.1013)
OKLCHoklch(22.85% 0.107 288.6)
XYZxyz(1.8908, 1.0097, 6.5725)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0B4A #374A0B
analogous
#0B184A #1E0B4A #3E0B4A
triadic
#1E0B4A #4A1E0B #0B4A1E
tetradic
#1E0B4A #4A0B18 #374A0B #0B4A3E
square
#1E0B4A #4A0B18 #374A0B #0B4A3E
split-complementary
#1E0B4A #4A3E0B #184A0B
monochromatic
#0B041B #0B041B #1E0B4A #34137F #491BB5

Accessibility & contrast

On white

17.47
#1E0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0B4A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0B4A#FFFFFF#000000##FFFFFF
##1E0B4A1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#0C1D2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1e0b4a;
/* rgb */ color: rgb(30, 11, 74);
/* oklch */ color: oklch(22.8% 0.107 288.6);
Tailwind
colors: {
  custom: {
    50: '#604c7d',
    500: '#1e0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #1e0b4a;
$custom-light: #604c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0b4a",
  "rgb": {
    "r": 30,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 258.095,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22849,
    "c": 0.10691,
    "h": 288.6
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#1E0B4A
secondary
#6B862B
accent
#F137B9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1E0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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