#1E0F5D#1E0F5D

#1E0F5D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.128 H 281.2°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#1E0F5D
RGBrgb(30, 15, 93)
HSLhsl(252, 72%, 21%)
HSVhsv(252, 84%, 36%)
CMYKcmyk(67.7%, 83.9%, 0%, 63.5%)
CIE-LABlab(12.01, 31.48, -43.38)
CIE-LCHlch(12.01, 53.60, 305.97°)
OKLaboklab(25.55% 0.0249 -0.1252)
OKLCHoklch(25.55% 0.128 281.2)
XYZxyz(2.6814, 1.4078, 10.4842)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F5D #4E5D0F
analogous
#0F275D #1E0F5D #450F5D
triadic
#1E0F5D #5D1E0F #0F5D1E
tetradic
#1E0F5D #5D0F27 #4E5D0F #0F5D45
square
#1E0F5D #5D0F27 #4E5D0F #0F5D45
split-complementary
#1E0F5D #5D450F #275D0F
monochromatic
#08041A #0D0628 #1E0F5D #2F1792 #4020C6

Accessibility & contrast

On white

16.39
#1E0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E0F5D
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F5D#FFFFFF#000000##FFFFFF
##1E0F5D1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e0f5d;
/* rgb */ color: rgb(30, 15, 93);
/* oklch */ color: oklch(25.6% 0.128 281.2);
Tailwind
colors: {
  custom: {
    50: '#64508c',
    500: '#1e0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f5d;
$custom-light: #64508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f5d",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 251.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25553,
    "c": 0.12762,
    "h": 281.2
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#1E0F5D
secondary
#839631
accent
#EF39CC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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