#5D1460#5D1460

#5D1460 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.139 H 326.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#5D1460
RGBrgb(93, 20, 96)
HSLhsl(298, 66%, 23%)
HSVhsv(298, 79%, 38%)
CMYKcmyk(3.1%, 79.2%, 0%, 62.4%)
CIE-LABlab(22.56, 42.14, -27.81)
CIE-LCHlch(22.56, 50.49, 326.57°)
OKLaboklab(35.08% 0.116 -0.0773)
OKLCHoklch(35.08% 0.139 326.3)
XYZxyz(6.8755, 3.6725, 11.4108)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1460 #176014
analogous
#371460 #5D1460 #60143D
triadic
#5D1460 #605D14 #14605D
tetradic
#5D1460 #603714 #176014 #143D60
square
#5D1460 #603714 #176014 #143D60
split-complementary
#5D1460 #3D6014 #146037
monochromatic
#190519 #2C092D #5D1460 #8E1F93 #BF29C5

Accessibility & contrast

On white

12.11
#5D1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5D1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1460
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1460#FFFFFF#000000##FFFFFF
##5D14601.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#602139
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1460;
/* rgb */ color: rgb(93, 20, 96);
/* oklch */ color: oklch(35.1% 0.139 326.3);
Tailwind
colors: {
  custom: {
    50: '#8e5b8d',
    500: '#5d1460',
    950: '#000000',
  },
}
SCSS
$custom: #5d1460;
$custom-light: #8e5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1460",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 297.632,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35077,
    "c": 0.13937,
    "h": 326.3
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#5D1460
secondary
#3C9838
accent
#E83F46
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1460

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

Preview Lab → · Contrast checker → · Palette generator →

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