#5D1665#5D1665

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

Color values

HEX#5D1665
RGBrgb(93, 22, 101)
HSLhsl(294, 64%, 24%)
HSVhsv(294, 78%, 40%)
CMYKcmyk(7.9%, 78.2%, 0%, 60.4%)
CIE-LABlab(23.14, 42.37, -30.17)
CIE-LCHlch(23.14, 52.01, 324.54°)
OKLaboklab(35.6% 0.1137 -0.0842)
OKLCHoklch(35.6% 0.141 323.5)
XYZxyz(7.1499, 3.8410, 12.6742)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1665 #1E6516
analogous
#361665 #5D1665 #651646
triadic
#5D1665 #655D16 #16655D
tetradic
#5D1665 #653616 #1E6516 #164665
square
#5D1665 #653616 #1E6516 #164665
split-complementary
#5D1665 #466516 #166536
monochromatic
#170519 #2F0B33 #5D1665 #8B2197 #BA2CCA

Accessibility & contrast

On white

11.88
#5D1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1665
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1665#FFFFFF#000000##FFFFFF
##5D16651.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#5F253C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1665;
/* rgb */ color: rgb(93, 22, 101);
/* oklch */ color: oklch(35.6% 0.141 323.5);
Tailwind
colors: {
  custom: {
    50: '#8e5c91',
    500: '#5d1665',
    950: '#000000',
  },
}
SCSS
$custom: #5d1665;
$custom-light: #8e5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1665",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 293.924,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.14148,
    "h": 323.5
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#5D1665
secondary
#459C3B
accent
#E74151
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040D
muted
#7D797D

Preview Lab

Preview with #5D1665

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

Preview Lab → · Contrast checker → · Palette generator →

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