#5D4F86#5D4F86

#5D4F86 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.6% C 0.088 H 294.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5D4F86
RGBrgb(93, 79, 134)
HSLhsl(255, 26%, 42%)
HSVhsv(255, 41%, 53%)
CMYKcmyk(30.6%, 41%, 0%, 47.5%)
CIE-LABlab(37.19, 18.84, -28.77)
CIE-LCHlch(37.19, 34.39, 303.22°)
OKLaboklab(46.6% 0.0365 -0.0804)
OKLCHoklch(46.6% 0.088 294.4)
XYZxyz(11.6122, 9.6402, 23.7986)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4F86 #78864F
analogous
#4F5D86 #5D4F86 #794F86
triadic
#5D4F86 #865D4F #4F865D
tetradic
#5D4F86 #864F5D #78864F #4F8679
square
#5D4F86 #864F5D #78864F #4F8679
split-complementary
#5D4F86 #86794F #5D864F
monochromatic
#282239 #42385F #5D4F86 #7A6BA8 #9D91BE

Accessibility & contrast

On white

7.17
#5D4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5D4F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4F86
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4F86#FFFFFF#000000##FFFFFF
##5D4F861.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#545964
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d4f86;
/* rgb */ color: rgb(93, 79, 134);
/* oklch */ color: oklch(46.6% 0.088 294.4);
Tailwind
colors: {
  custom: {
    50: '#8c80a9',
    500: '#5d4f86',
    950: '#000000',
  },
}
SCSS
$custom: #5d4f86;
$custom-light: #8c80a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4f86",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 255.273,
    "s": 25.822,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.08833,
    "h": 294.4
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#5D4F86
secondary
#A2AB86
accent
#C266AB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5D4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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