#5D4E93#5D4E93

#5D4E93 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.2% C 0.109 H 291.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5D4E93
RGBrgb(93, 78, 147)
HSLhsl(253, 31%, 44%)
HSVhsv(253, 47%, 58%)
CMYKcmyk(36.7%, 46.9%, 0%, 42.4%)
CIE-LABlab(37.63, 23.13, -35.99)
CIE-LCHlch(37.63, 42.78, 302.73°)
OKLaboklab(47.16% 0.0403 -0.1014)
OKLCHoklch(47.16% 0.109 291.7)
XYZxyz(12.5037, 9.8822, 28.8468)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E93 #84934E
analogous
#4E6293 #5D4E93 #804E93
triadic
#5D4E93 #935D4E #4E935D
tetradic
#5D4E93 #934E62 #84934E #4E9380
square
#5D4E93 #934E62 #84934E #4E9380
split-complementary
#5D4E93 #93804E #62934E
monochromatic
#2A2443 #44396B #5D4E93 #7C6DB1 #A095C7

Accessibility & contrast

On white

7.06
#5D4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5D4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E93
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E93#FFFFFF#000000##FFFFFF
##5D4E931.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#505B69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d4e93;
/* rgb */ color: rgb(93, 78, 147);
/* oklch */ color: oklch(47.2% 0.109 291.7);
Tailwind
colors: {
  custom: {
    50: '#8d7fb3',
    500: '#5d4e93',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e93;
$custom-light: #8d7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e93",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 253.043,
    "s": 30.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.10914,
    "h": 291.7
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#5D4E93
secondary
#AAB38A
accent
#C761B1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #5D4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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