#5D1B68#5D1B68

#5D1B68 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.138 H 321.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5D1B68
RGBrgb(93, 27, 104)
HSLhsl(291, 59%, 26%)
HSVhsv(291, 74%, 41%)
CMYKcmyk(10.6%, 74%, 0%, 59.2%)
CIE-LABlab(24.03, 40.98, -30.70)
CIE-LCHlch(24.03, 51.20, 323.17°)
OKLaboklab(36.3% 0.1082 -0.0858)
OKLCHoklch(36.3% 0.138 321.6)
XYZxyz(7.4046, 4.1109, 13.4975)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1B68 #26681B
analogous
#361B68 #5D1B68 #681B4C
triadic
#5D1B68 #685D1B #1B685D
tetradic
#5D1B68 #68361B #26681B #1B4C68
square
#5D1B68 #68361B #26681B #1B4C68
split-complementary
#5D1B68 #4C681B #1B6836
monochromatic
#160618 #320E37 #5D1B68 #882899 #B434C9

Accessibility & contrast

On white

11.53
#5D1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5D1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1B68
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1B68#FFFFFF#000000##FFFFFF
##5D1B681.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#253C66
Tritanopia (blue-blind)
#5E293F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1b68;
/* rgb */ color: rgb(93, 27, 104);
/* oklch */ color: oklch(36.3% 0.138 321.6);
Tailwind
colors: {
  custom: {
    50: '#8e5e93',
    500: '#5d1b68',
    950: '#000000',
  },
}
SCSS
$custom: #5d1b68;
$custom-light: #8e5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1b68",
  "rgb": {
    "r": 93,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 291.429,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.363,
    "c": 0.13804,
    "h": 321.6
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#5D1B68
secondary
#4F9D42
accent
#E2465C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5D1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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