#5D1769#5D1769

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

Color values

HEX#5D1769
RGBrgb(93, 23, 105)
HSLhsl(291, 64%, 25%)
HSVhsv(291, 78%, 41%)
CMYKcmyk(11.4%, 78.1%, 0%, 58.8%)
CIE-LABlab(23.54, 42.78, -32.14)
CIE-LCHlch(23.54, 53.51, 323.09°)
OKLaboklab(35.97% 0.1124 -0.09)
OKLCHoklch(35.97% 0.144 321.3)
XYZxyz(7.3701, 3.9603, 13.7381)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1769 #236917
analogous
#341769 #5D1769 #69174C
triadic
#5D1769 #695D17 #17695D
tetradic
#5D1769 #693417 #236917 #174C69
square
#5D1769 #693417 #236917 #174C69
split-complementary
#5D1769 #4C6917 #176934
monochromatic
#160519 #310C37 #5D1769 #89229B #B62DCD

Accessibility & contrast

On white

11.72
#5D1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1769
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1769#FFFFFF#000000##FFFFFF
##5D17691.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#213B67
Tritanopia (blue-blind)
#5E273F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1769;
/* rgb */ color: rgb(93, 23, 105);
/* oklch */ color: oklch(36.0% 0.144 321.3);
Tailwind
colors: {
  custom: {
    50: '#8e5c94',
    500: '#5d1769',
    950: '#000000',
  },
}
SCSS
$custom: #5d1769;
$custom-light: #8e5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1769",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 291.22,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.14396,
    "h": 321.3
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#5D1769
secondary
#4B9F3D
accent
#E74159
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1769

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

Preview Lab → · Contrast checker → · Palette generator →

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