#5D1E63#5D1E63

#5D1E63 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.3% C 0.129 H 324.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#5D1E63
RGBrgb(93, 30, 99)
HSLhsl(295, 53%, 25%)
HSVhsv(295, 70%, 39%)
CMYKcmyk(6.1%, 69.7%, 0%, 61.2%)
CIE-LABlab(24.18, 38.65, -27.20)
CIE-LCHlch(24.18, 47.26, 324.87°)
OKLaboklab(36.31% 0.1047 -0.0756)
OKLCHoklch(36.31% 0.129 324.2)
XYZxyz(7.2304, 4.1570, 12.2235)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1E63 #24631E
analogous
#3B1E63 #5D1E63 #631E46
triadic
#5D1E63 #635D1E #1E635D
tetradic
#5D1E63 #633B1E #24631E #1E4663
square
#5D1E63 #633B1E #24631E #1E4663
split-complementary
#5D1E63 #46631E #1E633B
monochromatic
#160717 #311034 #5D1E63 #892C92 #B53AC1

Accessibility & contrast

On white

11.47
#5D1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5D1E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1E63
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1E63#FFFFFF#000000##FFFFFF
##5D1E631.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3565
Deuteranopia (green-blind)
#2A3C61
Tritanopia (blue-blind)
#5F293D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1e63;
/* rgb */ color: rgb(93, 30, 99);
/* oklch */ color: oklch(36.3% 0.129 324.2);
Tailwind
colors: {
  custom: {
    50: '#8d5f90',
    500: '#5d1e63',
    950: '#000000',
  },
}
SCSS
$custom: #5d1e63;
$custom-light: #8d5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1e63",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 294.783,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36305,
    "c": 0.1291,
    "h": 324.2
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#5D1E63
secondary
#4C9845
accent
#DD4B58
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5D1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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