#5D4E83#5D4E83

#5D4E83 is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.2% C 0.086 H 295.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5D4E83
RGBrgb(93, 78, 131)
HSLhsl(257, 25%, 41%)
HSVhsv(257, 40%, 51%)
CMYKcmyk(29%, 40.5%, 0%, 48.6%)
CIE-LABlab(36.77, 18.65, -27.59)
CIE-LCHlch(36.77, 33.30, 304.06°)
OKLaboklab(46.23% 0.0374 -0.077)
OKLCHoklch(46.23% 0.086 295.9)
XYZxyz(11.3343, 9.4145, 22.6884)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E83 #74834E
analogous
#4E5983 #5D4E83 #774E83
triadic
#5D4E83 #835D4E #4E835D
tetradic
#5D4E83 #834E59 #74834E #4E8377
square
#5D4E83 #834E59 #74834E #4E8377
split-complementary
#5D4E83 #83774E #59834E
monochromatic
#272036 #42375D #5D4E83 #7A69A6 #9C8FBC

Accessibility & contrast

On white

7.28
#5D4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5D4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4E83
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E83#FFFFFF#000000##FFFFFF
##5D4E831.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5785
Deuteranopia (green-blind)
#425682
Tritanopia (blue-blind)
#555762
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d4e83;
/* rgb */ color: rgb(93, 78, 131);
/* oklch */ color: oklch(46.2% 0.086 295.9);
Tailwind
colors: {
  custom: {
    50: '#8c7fa7',
    500: '#5d4e83',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e83;
$custom-light: #8c7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e83",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 256.981,
    "s": 25.359,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.08559,
    "h": 295.9
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#5D4E83
secondary
#9EA984
accent
#C266A8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5D4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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