#1E0B49#1E0B49

#1E0B49 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.106 H 289.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#1E0B49
RGBrgb(30, 11, 73)
HSLhsl(258, 74%, 16%)
HSVhsv(258, 85%, 29%)
CMYKcmyk(58.9%, 84.9%, 0%, 71.4%)
CIE-LABlab(8.96, 27.09, -34.71)
CIE-LCHlch(8.96, 44.03, 307.96°)
OKLaboklab(22.74% 0.0345 -0.0998)
OKLCHoklch(22.74% 0.106 289)
XYZxyz(1.8573, 0.9963, 6.3965)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0B49 #36490B
analogous
#0B1749 #1E0B49 #3D0B49
triadic
#1E0B49 #491E0B #0B491E
tetradic
#1E0B49 #490B17 #36490B #0B493D
square
#1E0B49 #490B17 #36490B #0B493D
split-complementary
#1E0B49 #493D0B #17490B
monochromatic
#0B041B #0B041B #1E0B49 #34137E #4A1BB3

Accessibility & contrast

On white

17.51
#1E0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0B49
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0B49#FFFFFF#000000##FFFFFF
##1E0B491.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001848
Tritanopia (blue-blind)
#0D1C29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1e0b49;
/* rgb */ color: rgb(30, 11, 73);
/* oklch */ color: oklch(22.7% 0.106 289.0);
Tailwind
colors: {
  custom: {
    50: '#604c7c',
    500: '#1e0b49',
    950: '#000000',
  },
}
SCSS
$custom: #1e0b49;
$custom-light: #604c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0b49",
  "rgb": {
    "r": 30,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 258.387,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22737,
    "c": 0.1056,
    "h": 289
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#1E0B49
secondary
#69852A
accent
#F037B8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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