#5D1567#5D1567

#5D1567 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.144 H 322.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5D1567
RGBrgb(93, 21, 103)
HSLhsl(293, 66%, 24%)
HSVhsv(293, 80%, 40%)
CMYKcmyk(9.7%, 79.6%, 0%, 59.6%)
CIE-LABlab(23.15, 43.12, -31.47)
CIE-LCHlch(23.15, 53.38, 323.88°)
OKLaboklab(35.64% 0.1146 -0.088)
OKLCHoklch(35.64% 0.144 322.5)
XYZxyz(7.2303, 3.8432, 13.1903)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1567 #1F6715
analogous
#341567 #5D1567 #671548
triadic
#5D1567 #675D15 #15675D
tetradic
#5D1567 #673415 #1F6715 #154867
square
#5D1567 #673415 #1F6715 #154867
split-complementary
#5D1567 #486715 #156734
monochromatic
#170519 #2F0B34 #5D1567 #8B1F9A #B92ACD

Accessibility & contrast

On white

11.87
#5D1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1567
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1567#FFFFFF#000000##FFFFFF
##5D15671.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#223A65
Tritanopia (blue-blind)
#5E253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1567;
/* rgb */ color: rgb(93, 21, 103);
/* oklch */ color: oklch(35.6% 0.144 322.5);
Tailwind
colors: {
  custom: {
    50: '#8e5c93',
    500: '#5d1567',
    950: '#000000',
  },
}
SCSS
$custom: #5d1567;
$custom-light: #8e5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1567",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 292.683,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.14444,
    "h": 322.5
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#5D1567
secondary
#469E3A
accent
#E93F54
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1567

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

Preview Lab → · Contrast checker → · Palette generator →

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