#5D1860#5D1860

#5D1860 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.135 H 326.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5D1860
RGBrgb(93, 24, 96)
HSLhsl(298, 60%, 24%)
HSVhsv(298, 75%, 38%)
CMYKcmyk(3.1%, 75%, 0%, 62.4%)
CIE-LABlab(23.09, 40.63, -26.97)
CIE-LCHlch(23.09, 48.77, 326.42°)
OKLaboklab(35.46% 0.1118 -0.0749)
OKLCHoklch(35.46% 0.135 326.2)
XYZxyz(6.9520, 3.8254, 11.4363)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1860 #1B6018
analogous
#391860 #5D1860 #60183F
triadic
#5D1860 #605D18 #18605D
tetradic
#5D1860 #603918 #1B6018 #183F60
square
#5D1860 #603918 #1B6018 #183F60
split-complementary
#5D1860 #3F6018 #186039
monochromatic
#180618 #2E0C2F #5D1860 #8C2491 #BC30C2

Accessibility & contrast

On white

11.90
#5D1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1860
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1860#FFFFFF#000000##FFFFFF
##5D18601.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083262
Deuteranopia (green-blind)
#283A5E
Tritanopia (blue-blind)
#60233A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1860;
/* rgb */ color: rgb(93, 24, 96);
/* oklch */ color: oklch(35.5% 0.135 326.2);
Tailwind
colors: {
  custom: {
    50: '#8e5c8d',
    500: '#5d1860',
    950: '#000000',
  },
}
SCSS
$custom: #5d1860;
$custom-light: #8e5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1860",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 297.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35455,
    "c": 0.13453,
    "h": 326.2
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#5D1860
secondary
#41963D
accent
#E3454B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1860

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

Preview Lab → · Contrast checker → · Palette generator →

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