#5D1B63#5D1B63

#5D1B63 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.133 H 324.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#5D1B63
RGBrgb(93, 27, 99)
HSLhsl(295, 57%, 25%)
HSVhsv(295, 73%, 39%)
CMYKcmyk(6.1%, 72.7%, 0%, 61.2%)
CIE-LABlab(23.71, 39.98, -27.95)
CIE-LCHlch(23.71, 48.78, 325.04°)
OKLaboklab(35.97% 0.1083 -0.0778)
OKLCHoklch(35.97% 0.133 324.3)
XYZxyz(7.1581, 4.0123, 12.1994)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1B63 #21631B
analogous
#391B63 #5D1B63 #631B45
triadic
#5D1B63 #635D1B #1B635D
tetradic
#5D1B63 #63391B #21631B #1B4563
square
#5D1B63 #63391B #21631B #1B4563
split-complementary
#5D1B63 #45631B #1B6339
monochromatic
#170718 #300E33 #5D1B63 #8A2893 #B735C3

Accessibility & contrast

On white

11.65
#5D1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1B63
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1B63#FFFFFF#000000##FFFFFF
##5D1B631.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#283B61
Tritanopia (blue-blind)
#5F273D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1b63;
/* rgb */ color: rgb(93, 27, 99);
/* oklch */ color: oklch(36.0% 0.133 324.3);
Tailwind
colors: {
  custom: {
    50: '#8e5e90',
    500: '#5d1b63',
    950: '#000000',
  },
}
SCSS
$custom: #5d1b63;
$custom-light: #8e5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1b63",
  "rgb": {
    "r": 93,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 295,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.13332,
    "h": 324.3
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#5D1B63
secondary
#499841
accent
#E04754
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5D1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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