#5D4191#5D4191

#5D4191 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.6% C 0.127 H 297.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5D4191
RGBrgb(93, 65, 145)
HSLhsl(261, 38%, 41%)
HSVhsv(261, 55%, 57%)
CMYKcmyk(35.9%, 55.2%, 0%, 43.1%)
CIE-LABlab(34.30, 30.60, -40.08)
CIE-LCHlch(34.30, 50.43, 307.36°)
OKLaboklab(44.63% 0.0581 -0.1134)
OKLCHoklch(44.63% 0.127 297.1)
XYZxyz(11.5141, 8.1519, 27.7494)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4191 #759141
analogous
#414D91 #5D4191 #854191
triadic
#5D4191 #915D41 #41915D
tetradic
#5D4191 #91414D #759141 #419185
square
#5D4191 #91414D #759141 #419185
split-complementary
#5D4191 #918541 #4D9141
monochromatic
#271B3C #422E67 #5D4191 #7A5AB5 #9C84C8

Accessibility & contrast

On white

7.98
#5D4191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5D4191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4191
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4191#FFFFFF#000000##FFFFFF
##5D41911.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#515162
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d4191;
/* rgb */ color: rgb(93, 65, 145);
/* oklch */ color: oklch(44.6% 0.127 297.1);
Tailwind
colors: {
  custom: {
    50: '#8e76b2',
    500: '#5d4191',
    950: '#000000',
  },
}
SCSS
$custom: #5d4191;
$custom-light: #8e76b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4191",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 261,
    "s": 38.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.12743,
    "h": 297.1
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#5D4191
secondary
#9FB37B
accent
#CE5AA5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0D0811
muted
#7D7B80

Preview Lab

Preview with #5D4191

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

Preview Lab → · Contrast checker → · Palette generator →

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