#5D4E77#5D4E77

#5D4E77 is a mid, moderate violet. Relative luminance 0.091; OKLCH L 45.6% C 0.068 H 300.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5D4E77
RGBrgb(93, 78, 119)
HSLhsl(262, 21%, 39%)
HSVhsv(262, 34%, 47%)
CMYKcmyk(21.8%, 34.5%, 0%, 53.3%)
CIE-LABlab(36.19, 15.47, -21.09)
CIE-LCHlch(36.19, 26.15, 306.26°)
OKLaboklab(45.6% 0.0344 -0.0583)
OKLCHoklch(45.6% 0.068 300.6)
XYZxyz(10.5676, 9.1078, 18.6504)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E77 #68774E
analogous
#4E5377 #5D4E77 #714E77
triadic
#5D4E77 #775D4E #4E775D
tetradic
#5D4E77 #774E53 #68774E #4E7771
square
#5D4E77 #774E53 #68774E #4E7771
split-complementary
#5D4E77 #77714E #53774E
monochromatic
#231E2D #403652 #5D4E77 #7A679B #9A8CB4

Accessibility & contrast

On white

7.44
#5D4E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D4E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E77
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E77#FFFFFF#000000##FFFFFF
##5D4E771.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455579
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#58545D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d4e77;
/* rgb */ color: rgb(93, 78, 119);
/* oklch */ color: oklch(45.6% 0.068 300.6);
Tailwind
colors: {
  custom: {
    50: '#8b7f9e',
    500: '#5d4e77',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e77;
$custom-light: #8b7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e77",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 261.951,
    "s": 20.812,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.06768,
    "h": 300.6
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#5D4E77
secondary
#95A180
accent
#BD6A9F
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5D4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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