#5D4E89#5D4E89

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

Color values

HEX#5D4E89
RGBrgb(93, 78, 137)
HSLhsl(255, 27%, 42%)
HSVhsv(255, 43%, 54%)
CMYKcmyk(32.1%, 43.1%, 0%, 46.3%)
CIE-LABlab(37.08, 20.30, -30.77)
CIE-LCHlch(37.08, 36.86, 303.41°)
OKLaboklab(46.57% 0.0386 -0.0862)
OKLCHoklch(46.57% 0.094 294.1)
XYZxyz(11.7528, 9.5819, 24.8923)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E89 #7A894E
analogous
#4E5D89 #5D4E89 #7B4E89
triadic
#5D4E89 #895D4E #4E895D
tetradic
#5D4E89 #894E5D #7A894E #4E897B
square
#5D4E89 #894E5D #7A894E #4E897B
split-complementary
#5D4E89 #897B4E #5D894E
monochromatic
#28223B #433862 #5D4E89 #7A6AAA #9D91C0

Accessibility & contrast

On white

7.20
#5D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5D4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E89
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E89#FFFFFF#000000##FFFFFF
##5D4E891.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588B
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#535965
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d4e89;
/* rgb */ color: rgb(93, 78, 137);
/* oklch */ color: oklch(46.6% 0.094 294.1);
Tailwind
colors: {
  custom: {
    50: '#8d7fac',
    500: '#5d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e89;
$custom-light: #8d7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e89",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 255.254,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.09449,
    "h": 294.1
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#5D4E89
secondary
#A3AD86
accent
#C464AB
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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