#5D4E82#5D4E82

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

Color values

HEX#5D4E82
RGBrgb(93, 78, 130)
HSLhsl(257, 25%, 41%)
HSVhsv(257, 40%, 51%)
CMYKcmyk(28.5%, 40%, 0%, 49%)
CIE-LABlab(36.72, 18.38, -27.05)
CIE-LCHlch(36.72, 32.70, 304.19°)
OKLaboklab(46.18% 0.0372 -0.0754)
OKLCHoklch(46.18% 0.084 296.2)
XYZxyz(11.2669, 9.3875, 22.3331)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4E82 #73824E
analogous
#4E5982 #5D4E82 #774E82
triadic
#5D4E82 #825D4E #4E825D
tetradic
#5D4E82 #824E59 #73824E #4E8277
square
#5D4E82 #824E59 #73824E #4E8277
split-complementary
#5D4E82 #82774E #59824E
monochromatic
#262035 #42375C #5D4E82 #7A68A5 #9C8FBC

Accessibility & contrast

On white

7.30
#5D4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D4E82
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4E82#FFFFFF#000000##FFFFFF
##5D4E821.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#555762
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d4e82;
/* rgb */ color: rgb(93, 78, 130);
/* oklch */ color: oklch(46.2% 0.084 296.2);
Tailwind
colors: {
  custom: {
    50: '#8c7fa6',
    500: '#5d4e82',
    950: '#000000',
  },
}
SCSS
$custom: #5d4e82;
$custom-light: #8c7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4e82",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 257.308,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.08411,
    "h": 296.2
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#5D4E82
secondary
#9EA884
accent
#C166A7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5D4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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