#5D4E71#5D4E71

#5D4E71 is a mid, muted violet. Relative luminance 0.090; OKLCH L 45.3% C 0.059 H 303.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5D4E71
RGBrgb(93, 78, 113)
HSLhsl(266, 18%, 37%)
HSVhsv(266, 31%, 44%)
CMYKcmyk(17.7%, 31%, 0%, 55.7%)
CIE-LABlab(35.92, 13.94, -17.77)
CIE-LCHlch(35.92, 22.59, 308.12°)
OKLaboklab(45.31% 0.0327 -0.0488)
OKLCHoklch(45.31% 0.059 303.8)
XYZxyz(10.2186, 8.9682, 16.8123)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E71 #62714E
analogous
#4E5071 #5D4E71 #6F4E71
triadic
#5D4E71 #715D4E #4E715D
tetradic
#5D4E71 #714E50 #62714E #4E716F
square
#5D4E71 #714E50 #62714E #4E716F
split-complementary
#5D4E71 #716F4E #50714E
monochromatic
#211C29 #3F354D #5D4E71 #7B6795 #9A8BAF

Accessibility & contrast

On white

7.52
#5D4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5D4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E71
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E71#FFFFFF#000000##FFFFFF
##5D4E711.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475472
Deuteranopia (green-blind)
#4A5470
Tritanopia (blue-blind)
#5A535A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d4e71;
/* rgb */ color: rgb(93, 78, 113);
/* oklch */ color: oklch(45.3% 0.059 303.8);
Tailwind
colors: {
  custom: {
    50: '#8b7f9a',
    500: '#5d4e71',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e71;
$custom-light: #8b7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e71",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 265.714,
    "s": 18.325,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.05874,
    "h": 303.8
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#5D4E71
secondary
#8F9C7F
accent
#BB6D99
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5D4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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