#5D3C8D#5D3C8D

#5D3C8D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.5% C 0.130 H 299.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5D3C8D
RGBrgb(93, 60, 141)
HSLhsl(264, 40%, 39%)
HSVhsv(264, 57%, 55%)
CMYKcmyk(34%, 57.4%, 0%, 44.7%)
CIE-LABlab(32.88, 32.50, -39.90)
CIE-LCHlch(32.88, 51.47, 309.17°)
OKLaboklab(43.51% 0.0647 -0.1129)
OKLCHoklch(43.51% 0.13 299.8)
XYZxyz(10.9366, 7.4819, 26.0621)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3C8D #6C8D3C
analogous
#3C448D #5D3C8D #863C8D
triadic
#5D3C8D #8D5D3C #3C8D5D
tetradic
#5D3C8D #8D3C44 #6C8D3C #3C8D86
square
#5D3C8D #8D3C44 #6C8D3C #3C8D86
split-complementary
#5D3C8D #8D863C #448D3C
monochromatic
#241737 #412A62 #5D3C8D #7A51B5 #9B7CC7

Accessibility & contrast

On white

8.41
#5D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5D3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D3C8D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3C8D#FFFFFF#000000##FFFFFF
##5D3C8D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#534C5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5d3c8d;
/* rgb */ color: rgb(93, 60, 141);
/* oklch */ color: oklch(43.5% 0.130 299.8);
Tailwind
colors: {
  custom: {
    50: '#8e73af',
    500: '#5d3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #5d3c8d;
$custom-light: #8e73af;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3c8d",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 264.444,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.13011,
    "h": 299.8
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#5D3C8D
secondary
#98B174
accent
#D0589F
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0D0810
muted
#7D7B7F

Preview Lab

Preview with #5D3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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