#5E1487#5E1487

#5E1487 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.175 H 309.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#5E1487
RGBrgb(94, 20, 135)
HSLhsl(279, 74%, 30%)
HSVhsv(279, 85%, 53%)
CMYKcmyk(30.4%, 85.2%, 0%, 47.1%)
CIE-LABlab(25.65, 50.36, -47.85)
CIE-LCHlch(25.65, 69.47, 316.46°)
OKLaboklab(38.21% 0.1105 -0.136)
OKLCHoklch(38.21% 0.175 309.1)
XYZxyz(9.2385, 4.6294, 23.3239)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1487 #3D8714
analogous
#251487 #5E1487 #871476
triadic
#5E1487 #875E14 #14875E
tetradic
#5E1487 #872514 #3D8714 #147687
square
#5E1487 #872514 #3D8714 #147687
split-complementary
#5E1487 #768714 #148725
monochromatic
#14041C #390C52 #5E1487 #831CBC #A334E1

Accessibility & contrast

On white

10.90
#5E1487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1487
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1487#FFFFFF#000000##FFFFFF
##5E14871.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#58334F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1487;
/* rgb */ color: rgb(94, 20, 135);
/* oklch */ color: oklch(38.2% 0.175 309.1);
Tailwind
colors: {
  custom: {
    50: '#915dab',
    500: '#5e1487',
    950: '#000000',
  },
}
SCSS
$custom: #5e1487;
$custom-light: #915dab;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1487",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 278.609,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.17524,
    "h": 309.1
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#5E1487
secondary
#69BB3B
accent
#F13779
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5E1487

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1487 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva