#1E0B4E#1E0B4E

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

Color values

HEX#1E0B4E
RGBrgb(30, 11, 78)
HSLhsl(257, 75%, 17%)
HSVhsv(257, 86%, 31%)
CMYKcmyk(61.5%, 85.9%, 0%, 69.4%)
CIE-LABlab(9.52, 28.70, -37.26)
CIE-LCHlch(9.52, 47.03, 307.61°)
OKLaboklab(23.3% 0.0328 -0.1073)
OKLCHoklch(23.3% 0.112 287)
XYZxyz(2.0298, 1.0653, 7.3049)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0B4E #3B4E0B
analogous
#0B194E #1E0B4E #400B4E
triadic
#1E0B4E #4E1E0B #0B4E1E
tetradic
#1E0B4E #4E0B19 #3B4E0B #0B4E40
square
#1E0B4E #4E0B19 #3B4E0B #0B4E40
split-complementary
#1E0B4E #4E400B #194E0B
monochromatic
#0A041B #0A041B #1E0B4E #331384 #471AB9

Accessibility & contrast

On white

17.31
#1E0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0B4E
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0B4E#FFFFFF#000000##FFFFFF
##1E0B4E1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#081F2C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1e0b4e;
/* rgb */ color: rgb(30, 11, 78);
/* oklch */ color: oklch(23.3% 0.112 287.0);
Tailwind
colors: {
  custom: {
    50: '#614d80',
    500: '#1e0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e0b4e;
$custom-light: #614d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0b4e",
  "rgb": {
    "r": 30,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 257.015,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23301,
    "c": 0.11216,
    "h": 287
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#1E0B4E
secondary
#6F8A2B
accent
#F236BD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1E0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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