#5D1470#5D1470

#5D1470 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.154 H 318.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#5D1470
RGBrgb(93, 20, 112)
HSLhsl(288, 70%, 26%)
HSVhsv(288, 82%, 44%)
CMYKcmyk(17%, 82.1%, 0%, 56.1%)
CIE-LABlab(23.66, 45.28, -36.47)
CIE-LCHlch(23.66, 58.14, 321.15°)
OKLaboklab(36.22% 0.1144 -0.1026)
OKLCHoklch(36.22% 0.154 318.1)
XYZxyz(7.6886, 3.9977, 15.6927)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1470 #277014
analogous
#2F1470 #5D1470 #701455
triadic
#5D1470 #705D14 #14705D
tetradic
#5D1470 #702F14 #277014 #145570
square
#5D1470 #702F14 #277014 #145570
split-complementary
#5D1470 #557014 #14702F
monochromatic
#16051A #320B3C #5D1470 #881DA4 #B327D8

Accessibility & contrast

On white

11.67
#5D1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5D1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1470
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1470#FFFFFF#000000##FFFFFF
##5D14701.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#183B6E
Tritanopia (blue-blind)
#5C2942
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1470;
/* rgb */ color: rgb(93, 20, 112);
/* oklch */ color: oklch(36.2% 0.154 318.1);
Tailwind
colors: {
  custom: {
    50: '#8e5c9a',
    500: '#5d1470',
    950: '#000000',
  },
}
SCSS
$custom: #5d1470;
$custom-light: #8e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1470",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 287.609,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36215,
    "c": 0.15366,
    "h": 318.1
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#5D1470
secondary
#50A639
accent
#ED3B60
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1470

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

Preview Lab → · Contrast checker → · Palette generator →

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