#5D4C99#5D4C99

#5D4C99 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.2% C 0.121 H 291.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5D4C99
RGBrgb(93, 76, 153)
HSLhsl(253, 34%, 45%)
HSVhsv(253, 50%, 60%)
CMYKcmyk(39.2%, 50.3%, 0%, 40%)
CIE-LABlab(37.47, 26.11, -39.86)
CIE-LCHlch(37.47, 47.65, 303.23°)
OKLaboklab(47.16% 0.0438 -0.1128)
OKLCHoklch(47.16% 0.121 291.2)
XYZxyz(12.8469, 9.7956, 31.3447)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4C99 #88994C
analogous
#4C6199 #5D4C99 #844C99
triadic
#5D4C99 #995D4C #4C995D
tetradic
#5D4C99 #994C61 #88994C #4C9984
square
#5D4C99 #994C61 #88994C #4C9984
split-complementary
#5D4C99 #99844C #61994C
monochromatic
#2B2347 #443870 #5D4C99 #7C6CB6 #A195CA

Accessibility & contrast

On white

7.10
#5D4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5D4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4C99
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4C99#FFFFFF#000000##FFFFFF
##5D4C991.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#305797
Tritanopia (blue-blind)
#4D5B6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d4c99;
/* rgb */ color: rgb(93, 76, 153);
/* oklch */ color: oklch(47.2% 0.121 291.2);
Tailwind
colors: {
  custom: {
    50: '#8e7eb7',
    500: '#5d4c99',
    950: '#000000',
  },
}
SCSS
$custom: #5d4c99;
$custom-light: #8e7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4c99",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 253.247,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.12097,
    "h": 291.2
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#5D4C99
secondary
#ADB78A
accent
#CA5EB2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0D0A11
muted
#7D7C80

Preview Lab

Preview with #5D4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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