#1E0E5D#1E0E5D

#1E0E5D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.129 H 281.4°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#1E0E5D
RGBrgb(30, 14, 93)
HSLhsl(252, 74%, 21%)
HSVhsv(252, 85%, 36%)
CMYKcmyk(67.7%, 84.9%, 0%, 63.5%)
CIE-LABlab(11.83, 32.01, -43.68)
CIE-LCHlch(11.83, 54.16, 306.24°)
OKLaboklab(25.42% 0.0255 -0.126)
OKLCHoklch(25.42% 0.129 281.4)
XYZxyz(2.6676, 1.3802, 10.4796)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0E5D #4D5D0E
analogous
#0E255D #1E0E5D #450E5D
triadic
#1E0E5D #5D1E0E #0E5D1E
tetradic
#1E0E5D #5D0E25 #4D5D0E #0E5D45
square
#1E0E5D #5D0E25 #4D5D0E #0E5D45
split-complementary
#1E0E5D #5D450E #255D0E
monochromatic
#09041B #0D0628 #1E0E5D #2F1692 #401EC7

Accessibility & contrast

On white

16.46
#1E0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1E0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0E5D
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0E5D#FFFFFF#000000##FFFFFF
##1E0E5D1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e0e5d;
/* rgb */ color: rgb(30, 14, 93);
/* oklch */ color: oklch(25.4% 0.129 281.4);
Tailwind
colors: {
  custom: {
    50: '#644f8c',
    500: '#1e0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #1e0e5d;
$custom-light: #644f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0e5d",
  "rgb": {
    "r": 30,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 252.152,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25425,
    "c": 0.12859,
    "h": 281.4
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#1E0E5D
secondary
#829730
accent
#F037CB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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