#5C4E6E#5C4E6E

#5C4E6E is a mid, muted violet. Relative luminance 0.088; OKLCH L 45.1% C 0.054 H 304.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5C4E6E
RGBrgb(92, 78, 110)
HSLhsl(266, 17%, 37%)
HSVhsv(266, 29%, 43%)
CMYKcmyk(16.4%, 29.1%, 0%, 56.9%)
CIE-LABlab(35.69, 12.85, -16.26)
CIE-LCHlch(35.69, 20.73, 308.30°)
OKLaboklab(45.06% 0.0304 -0.0446)
OKLCHoklch(45.06% 0.054 304.3)
XYZxyz(9.9519, 8.8499, 15.9327)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E6E #606E4E
analogous
#4E506E #5C4E6E #6C4E6E
triadic
#5C4E6E #6E5C4E #4E6E5C
tetradic
#5C4E6E #6E4E50 #606E4E #4E6E6C
square
#5C4E6E #6E4E50 #606E4E #4E6E6C
split-complementary
#5C4E6E #6E6C4E #506E4E
monochromatic
#201B26 #3E354A #5C4E6E #7A6792 #998AAC

Accessibility & contrast

On white

7.58
#5C4E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C4E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E6E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E6E#FFFFFF#000000##FFFFFF
##5C4E6E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48546F
Deuteranopia (green-blind)
#4A546D
Tritanopia (blue-blind)
#595359
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c4e6e;
/* rgb */ color: rgb(92, 78, 110);
/* oklch */ color: oklch(45.1% 0.054 304.3);
Tailwind
colors: {
  custom: {
    50: '#8a7f97',
    500: '#5c4e6e',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e6e;
$custom-light: #8a7f97;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e6e",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 266.25,
    "s": 17.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45063,
    "c": 0.05396,
    "h": 304.3
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#5C4E6E
secondary
#8E9A7E
accent
#BA6E99
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0D
muted
#7D7C7E

Preview Lab

Preview with #5C4E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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