#1E0B56#1E0B56

#1E0B56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.2% C 0.122 H 284.1°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#1E0B56
RGBrgb(30, 11, 86)
HSLhsl(255, 77%, 19%)
HSVhsv(255, 87%, 34%)
CMYKcmyk(65.1%, 87.2%, 0%, 66.3%)
CIE-LABlab(10.46, 31.28, -41.20)
CIE-LCHlch(10.46, 51.73, 307.20°)
OKLaboklab(24.23% 0.0299 -0.1188)
OKLCHoklch(24.23% 0.122 284.1)
XYZxyz(2.3343, 1.1871, 8.9084)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0B56 #43560B
analogous
#0B1E56 #1E0B56 #440B56
triadic
#1E0B56 #561E0B #0B561E
tetradic
#1E0B56 #560B1E #43560B #0B5644
square
#1E0B56 #560B1E #43560B #0B5644
split-complementary
#1E0B56 #56440B #1E560B
monochromatic
#09031B #0B0420 #1E0B56 #31128C #4419C3

Accessibility & contrast

On white

16.97
#1E0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1E0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0B56
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0B56#FFFFFF#000000##FFFFFF
##1E0B561.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1e0b56;
/* rgb */ color: rgb(30, 11, 86);
/* oklch */ color: oklch(24.2% 0.122 284.1);
Tailwind
colors: {
  custom: {
    50: '#634d87',
    500: '#1e0b56',
    950: '#000000',
  },
}
SCSS
$custom: #1e0b56;
$custom-light: #634d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0b56",
  "rgb": {
    "r": 30,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 255.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24232,
    "c": 0.12247,
    "h": 284.1
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#1E0B56
secondary
#78912B
accent
#F434C3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1E0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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