#5C4E82#5C4E82

#5C4E82 is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.1% C 0.084 H 295.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5C4E82
RGBrgb(92, 78, 130)
HSLhsl(256, 25%, 41%)
HSVhsv(256, 40%, 51%)
CMYKcmyk(29.2%, 40%, 0%, 49%)
CIE-LABlab(36.62, 18.06, -27.21)
CIE-LCHlch(36.62, 32.66, 303.57°)
OKLaboklab(46.08% 0.0359 -0.0759)
OKLCHoklch(46.08% 0.084 295.3)
XYZxyz(11.1663, 9.3357, 22.3284)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E82 #74824E
analogous
#4E5A82 #5C4E82 #764E82
triadic
#5C4E82 #825C4E #4E825C
tetradic
#5C4E82 #824E5A #74824E #4E8276
square
#5C4E82 #824E5A #74824E #4E8276
split-complementary
#5C4E82 #82764E #5A824E
monochromatic
#262035 #41375C #5C4E82 #7968A5 #9B8FBC

Accessibility & contrast

On white

7.32
#5C4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E82
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E82#FFFFFF#000000##FFFFFF
##5C4E821.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c4e82;
/* rgb */ color: rgb(92, 78, 130);
/* oklch */ color: oklch(46.1% 0.084 295.3);
Tailwind
colors: {
  custom: {
    50: '#8b7fa6',
    500: '#5c4e82',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e82;
$custom-light: #8b7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e82",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 256.154,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46078,
    "c": 0.08398,
    "h": 295.3
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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