#5D4E79#5D4E79

#5D4E79 is a mid, moderate violet. Relative luminance 0.092; OKLCH L 45.7% C 0.071 H 299.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5D4E79
RGBrgb(93, 78, 121)
HSLhsl(261, 22%, 39%)
HSVhsv(261, 36%, 47%)
CMYKcmyk(23.1%, 35.5%, 0%, 52.5%)
CIE-LABlab(36.28, 15.98, -22.18)
CIE-LCHlch(36.28, 27.34, 305.77°)
OKLaboklab(45.7% 0.035 -0.0614)
OKLCHoklch(45.7% 0.071 299.6)
XYZxyz(10.6890, 9.1564, 19.2897)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E79 #6A794E
analogous
#4E5579 #5D4E79 #734E79
triadic
#5D4E79 #795D4E #4E795D
tetradic
#5D4E79 #794E55 #6A794E #4E7973
square
#5D4E79 #794E55 #6A794E #4E7973
split-complementary
#5D4E79 #79734E #55794E
monochromatic
#241E2F #403654 #5D4E79 #7A679D #9B8CB5

Accessibility & contrast

On white

7.42
#5D4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5D4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E79
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E79#FFFFFF#000000##FFFFFF
##5D4E791.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557B
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#58555E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d4e79;
/* rgb */ color: rgb(93, 78, 121);
/* oklch */ color: oklch(45.7% 0.071 299.6);
Tailwind
colors: {
  custom: {
    50: '#8b7fa0',
    500: '#5d4e79',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e79;
$custom-light: #8b7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e79",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 260.93,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.457,
    "c": 0.07067,
    "h": 299.6
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#5D4E79
secondary
#96A281
accent
#BE6AA1
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5D4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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