#5D1664#5D1664

#5D1664 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.141 H 324.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5D1664
RGBrgb(93, 22, 100)
HSLhsl(295, 64%, 24%)
HSVhsv(295, 78%, 39%)
CMYKcmyk(7%, 78%, 0%, 60.8%)
CIE-LABlab(23.07, 42.17, -29.62)
CIE-LCHlch(23.07, 51.54, 324.92°)
OKLaboklab(35.53% 0.1138 -0.0826)
OKLCHoklch(35.53% 0.141 324)
XYZxyz(7.1012, 3.8215, 12.4177)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1664 #1D6416
analogous
#361664 #5D1664 #641644
triadic
#5D1664 #645D16 #16645D
tetradic
#5D1664 #643616 #1D6416 #164464
square
#5D1664 #643616 #1D6416 #164464
split-complementary
#5D1664 #446416 #166436
monochromatic
#170619 #2E0B32 #5D1664 #8C2196 #BA2CC8

Accessibility & contrast

On white

11.90
#5D1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5D1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1664
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1664#FFFFFF#000000##FFFFFF
##5D16641.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1664;
/* rgb */ color: rgb(93, 22, 100);
/* oklch */ color: oklch(35.5% 0.141 324.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c90',
    500: '#5d1664',
    950: '#000000',
  },
}
SCSS
$custom: #5d1664;
$custom-light: #8e5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1664",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 294.615,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35528,
    "c": 0.14058,
    "h": 324
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#5D1664
secondary
#449B3B
accent
#E74150
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1664

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

Preview Lab → · Contrast checker → · Palette generator →

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