#5D4E86#5D4E86

#5D4E86 is a mid, moderate violet. Relative luminance 0.095; OKLCH L 46.4% C 0.090 H 295.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5D4E86
RGBrgb(93, 78, 134)
HSLhsl(256, 26%, 42%)
HSVhsv(256, 42%, 53%)
CMYKcmyk(30.6%, 41.8%, 0%, 47.5%)
CIE-LABlab(36.92, 19.47, -29.19)
CIE-LCHlch(36.92, 35.08, 303.71°)
OKLaboklab(46.4% 0.038 -0.0816)
OKLCHoklch(46.4% 0.09 295)
XYZxyz(11.5406, 9.4970, 23.7747)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E86 #77864E
analogous
#4E5B86 #5D4E86 #794E86
triadic
#5D4E86 #865D4E #4E865D
tetradic
#5D4E86 #864E5B #77864E #4E8679
square
#5D4E86 #864E5B #77864E #4E8679
split-complementary
#5D4E86 #86794E #5B864E
monochromatic
#272139 #42375F #5D4E86 #7A69A8 #9C90BE

Accessibility & contrast

On white

7.24
#5D4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5D4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E86
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E86#FFFFFF#000000##FFFFFF
##5D4E861.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#545863
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d4e86;
/* rgb */ color: rgb(93, 78, 134);
/* oklch */ color: oklch(46.4% 0.090 295.0);
Tailwind
colors: {
  custom: {
    50: '#8c7fa9',
    500: '#5d4e86',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e86;
$custom-light: #8c7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e86",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 256.071,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.09005,
    "h": 295
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#5D4E86
secondary
#A1AB85
accent
#C365AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5D4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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