#1E0D56#1E0D56

#1E0D56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.5% C 0.120 H 283.7°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#1E0D56
RGBrgb(30, 13, 86)
HSLhsl(254, 74%, 19%)
HSVhsv(254, 85%, 34%)
CMYKcmyk(65.1%, 84.9%, 0%, 66.3%)
CIE-LABlab(10.82, 30.25, -40.61)
CIE-LCHlch(10.82, 50.64, 306.67°)
OKLaboklab(24.48% 0.0285 -0.1171)
OKLCHoklch(24.48% 0.121 283.7)
XYZxyz(2.3585, 1.2356, 8.9165)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0D56 #45560D
analogous
#0D2056 #1E0D56 #430D56
triadic
#1E0D56 #561E0D #0D561E
tetradic
#1E0D56 #560D20 #45560D #0D5643
square
#1E0D56 #560D20 #45560D #0D5643
split-complementary
#1E0D56 #56430D #20560D
monochromatic
#09041B #0B0521 #1E0D56 #31158B #431DC0

Accessibility & contrast

On white

16.84
#1E0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1E0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0D56
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0D56#FFFFFF#000000##FFFFFF
##1E0D561.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1e0d56;
/* rgb */ color: rgb(30, 13, 86);
/* oklch */ color: oklch(24.5% 0.120 283.7);
Tailwind
colors: {
  custom: {
    50: '#634e86',
    500: '#1e0d56',
    950: '#000000',
  },
}
SCSS
$custom: #1e0d56;
$custom-light: #634e86;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0d56",
  "rgb": {
    "r": 30,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 253.973,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24479,
    "c": 0.1205,
    "h": 283.7
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#1E0D56
secondary
#7A912E
accent
#F037C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1E0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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