#5D4E70#5D4E70

#5D4E70 is a mid, muted violet. Relative luminance 0.089; OKLCH L 45.3% C 0.057 H 304.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5D4E70
RGBrgb(93, 78, 112)
HSLhsl(266, 18%, 37%)
HSVhsv(266, 30%, 44%)
CMYKcmyk(17%, 30.4%, 0%, 56.1%)
CIE-LABlab(35.88, 13.70, -17.22)
CIE-LCHlch(35.88, 22.00, 308.50°)
OKLaboklab(45.26% 0.0323 -0.0472)
OKLCHoklch(45.26% 0.057 304.4)
XYZxyz(10.1626, 8.9458, 16.5174)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E70 #61704E
analogous
#4E5070 #5D4E70 #6E4E70
triadic
#5D4E70 #705D4E #4E705D
tetradic
#5D4E70 #704E50 #61704E #4E706E
square
#5D4E70 #704E50 #61704E #4E706E
split-complementary
#5D4E70 #706E4E #50704E
monochromatic
#211C28 #3F354C #5D4E70 #7B6794 #9A8BAE

Accessibility & contrast

On white

7.53
#5D4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D4E70
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E70#FFFFFF#000000##FFFFFF
##5D4E701.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d4e70;
/* rgb */ color: rgb(93, 78, 112);
/* oklch */ color: oklch(45.3% 0.057 304.4);
Tailwind
colors: {
  custom: {
    50: '#8b7f99',
    500: '#5d4e70',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e70;
$custom-light: #8b7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e70",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 266.471,
    "s": 17.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.05726,
    "h": 304.4
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#5D4E70
secondary
#8F9B7F
accent
#BB6D98
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5D4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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