#5E1860#5E1860

#5E1860 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.135 H 326.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#5E1860
RGBrgb(94, 24, 96)
HSLhsl(298, 60%, 24%)
HSVhsv(298, 75%, 38%)
CMYKcmyk(2.1%, 75%, 0%, 62.4%)
CIE-LABlab(23.26, 40.88, -26.68)
CIE-LCHlch(23.26, 48.82, 326.87°)
OKLaboklab(35.62% 0.113 -0.074)
OKLCHoklch(35.62% 0.135 326.8)
XYZxyz(7.0539, 3.8780, 11.4411)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1860 #1A6018
analogous
#3A1860 #5E1860 #60183E
triadic
#5E1860 #605E18 #18605E
tetradic
#5E1860 #603A18 #1A6018 #183E60
square
#5E1860 #603A18 #1A6018 #183E60
split-complementary
#5E1860 #3E6018 #18603A
monochromatic
#180618 #2E0C2F #5E1860 #8E2491 #BE30C2

Accessibility & contrast

On white

11.83
#5E1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1860
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1860#FFFFFF#000000##FFFFFF
##5E18601.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093262
Deuteranopia (green-blind)
#293B5E
Tritanopia (blue-blind)
#61233A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1860;
/* rgb */ color: rgb(94, 24, 96);
/* oklch */ color: oklch(35.6% 0.135 326.8);
Tailwind
colors: {
  custom: {
    50: '#8e5d8d',
    500: '#5e1860',
    950: '#000000',
  },
}
SCSS
$custom: #5e1860;
$custom-light: #8e5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1860",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 298.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35617,
    "c": 0.13506,
    "h": 326.8
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#5E1860
secondary
#40963D
accent
#E34549
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1860

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

Preview Lab → · Contrast checker → · Palette generator →

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