#5D4E73#5D4E73

#5D4E73 is a mid, moderate violet. Relative luminance 0.090; OKLCH L 45.4% C 0.062 H 302.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5D4E73
RGBrgb(93, 78, 115)
HSLhsl(264, 19%, 38%)
HSVhsv(264, 32%, 45%)
CMYKcmyk(19.1%, 32.2%, 0%, 54.9%)
CIE-LABlab(36.01, 14.45, -18.88)
CIE-LCHlch(36.01, 23.78, 307.42°)
OKLaboklab(45.4% 0.0333 -0.052)
OKLCHoklch(45.4% 0.062 302.6)
XYZxyz(10.3325, 9.0137, 17.4118)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E73 #64734E
analogous
#4E5173 #5D4E73 #6F4E73
triadic
#5D4E73 #735D4E #4E735D
tetradic
#5D4E73 #734E51 #64734E #4E736F
square
#5D4E73 #734E51 #64734E #4E736F
split-complementary
#5D4E73 #736F4E #51734E
monochromatic
#221D2A #40354F #5D4E73 #7A6797 #9A8BB0

Accessibility & contrast

On white

7.49
#5D4E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5D4E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E73
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E73#FFFFFF#000000##FFFFFF
##5D4E731.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465475
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#59545B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d4e73;
/* rgb */ color: rgb(93, 78, 115);
/* oklch */ color: oklch(45.4% 0.062 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b7f9b',
    500: '#5d4e73',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e73;
$custom-light: #8b7f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e73",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 115
  },
  "hsl": {
    "h": 264.324,
    "s": 19.171,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.0617,
    "h": 302.6
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#5D4E73
secondary
#919E7F
accent
#BC6C9B
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5D4E73

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

Preview Lab → · Contrast checker → · Palette generator →

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