#5D1764#5D1764

#5D1764 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.139 H 324.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5D1764
RGBrgb(93, 23, 100)
HSLhsl(295, 63%, 24%)
HSVhsv(295, 77%, 39%)
CMYKcmyk(7%, 77%, 0%, 60.8%)
CIE-LABlab(23.20, 41.79, -29.41)
CIE-LCHlch(23.20, 51.11, 324.86°)
OKLaboklab(35.62% 0.1127 -0.082)
OKLCHoklch(35.62% 0.139 324)
XYZxyz(7.1206, 3.8605, 12.4242)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1764 #1E6417
analogous
#371764 #5D1764 #641745
triadic
#5D1764 #645D17 #17645D
tetradic
#5D1764 #643717 #1E6417 #174564
square
#5D1764 #643717 #1E6417 #174564
split-complementary
#5D1764 #456417 #176437
monochromatic
#170619 #2F0C32 #5D1764 #8B2296 #BA2EC8

Accessibility & contrast

On white

11.85
#5D1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1764
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1764#FFFFFF#000000##FFFFFF
##5D17641.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#253A62
Tritanopia (blue-blind)
#5F253C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1764;
/* rgb */ color: rgb(93, 23, 100);
/* oklch */ color: oklch(35.6% 0.139 324.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c90',
    500: '#5d1764',
    950: '#000000',
  },
}
SCSS
$custom: #5d1764;
$custom-light: #8e5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1764",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 294.545,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.13939,
    "h": 324
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#5D1764
secondary
#459A3C
accent
#E64251
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1764

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

Preview Lab → · Contrast checker → · Palette generator →

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