#1E0F5F#1E0F5F

#1E0F5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.8% C 0.130 H 280.7°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#1E0F5F
RGBrgb(30, 15, 95)
HSLhsl(251, 73%, 22%)
HSVhsv(251, 84%, 37%)
CMYKcmyk(68.4%, 84.2%, 0%, 62.7%)
CIE-LABlab(12.25, 32.14, -44.33)
CIE-LCHlch(12.25, 54.75, 305.95°)
OKLaboklab(25.79% 0.0242 -0.1279)
OKLCHoklch(25.79% 0.13 280.7)
XYZxyz(2.7711, 1.4437, 10.9569)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F5F #505F0F
analogous
#0F285F #1E0F5F #460F5F
triadic
#1E0F5F #5F1E0F #0F5F1E
tetradic
#1E0F5F #5F0F28 #505F0F #0F5F46
square
#1E0F5F #5F0F28 #505F0F #0F5F46
split-complementary
#1E0F5F #5F460F #285F0F
monochromatic
#08041A #0D072A #1E0F5F #2F1794 #3F20C9

Accessibility & contrast

On white

16.29
#1E0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0F5F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F5F#FFFFFF#000000##FFFFFF
##1E0F5F1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e0f5f;
/* rgb */ color: rgb(30, 15, 95);
/* oklch */ color: oklch(25.8% 0.130 280.7);
Tailwind
colors: {
  custom: {
    50: '#65508d',
    500: '#1e0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f5f;
$custom-light: #65508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f5f",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 251.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25788,
    "c": 0.13021,
    "h": 280.7
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#1E0F5F
secondary
#859832
accent
#EF38CD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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