#5D2976#5D2976

#5D2976 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.0% C 0.132 H 313.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#5D2976
RGBrgb(93, 41, 118)
HSLhsl(281, 48%, 31%)
HSVhsv(281, 65%, 46%)
CMYKcmyk(21.2%, 65.3%, 0%, 53.7%)
CIE-LABlab(27.36, 37.39, -34.38)
CIE-LCHlch(27.36, 50.79, 317.39°)
OKLaboklab(38.99% 0.0903 -0.0967)
OKLCHoklch(38.99% 0.132 313)
XYZxyz(8.5766, 5.2213, 17.6920)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2976 #427629
analogous
#362976 #5D2976 #762968
triadic
#5D2976 #765D29 #29765D
tetradic
#5D2976 #763629 #427629 #296876
square
#5D2976 #763629 #427629 #296876
split-complementary
#5D2976 #687629 #297636
monochromatic
#15091B #391949 #5D2976 #8139A3 #A055C4

Accessibility & contrast

On white

10.27
#5D2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#5D2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2976
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2976#FFFFFF#000000##FFFFFF
##5D29761.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3E78
Deuteranopia (green-blind)
#244274
Tritanopia (blue-blind)
#5A374B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d2976;
/* rgb */ color: rgb(93, 41, 118);
/* oklch */ color: oklch(39.0% 0.132 313.0);
Tailwind
colors: {
  custom: {
    50: '#8d669e',
    500: '#5d2976',
    950: '#000000',
  },
}
SCSS
$custom: #5d2976;
$custom-light: #8d669e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2976",
  "rgb": {
    "r": 93,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 280.519,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.13227,
    "h": 313
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#5D2976
secondary
#6EA853
accent
#D8507C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5D2976

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

Preview Lab → · Contrast checker → · Palette generator →

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