#5C4E71#5C4E71

#5C4E71 is a mid, muted violet. Relative luminance 0.089; OKLCH L 45.2% C 0.058 H 302.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#5C4E71
RGBrgb(92, 78, 113)
HSLhsl(264, 18%, 37%)
HSVhsv(264, 31%, 44%)
CMYKcmyk(18.6%, 31%, 0%, 55.7%)
CIE-LABlab(35.82, 13.59, -17.94)
CIE-LCHlch(35.82, 22.51, 307.16°)
OKLaboklab(45.2% 0.0314 -0.0493)
OKLCHoklch(45.2% 0.058 302.5)
XYZxyz(10.1180, 8.9163, 16.8076)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E71 #63714E
analogous
#4E5171 #5C4E71 #6E4E71
triadic
#5C4E71 #715C4E #4E715C
tetradic
#5C4E71 #714E51 #63714E #4E716E
square
#5C4E71 #714E51 #63714E #4E716E
split-complementary
#5C4E71 #716E4E #51714E
monochromatic
#211C29 #3F354D #5C4E71 #796795 #998BAF

Accessibility & contrast

On white

7.55
#5C4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5C4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E71
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E71#FFFFFF#000000##FFFFFF
##5C4E711.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475472
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#59535A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c4e71;
/* rgb */ color: rgb(92, 78, 113);
/* oklch */ color: oklch(45.2% 0.058 302.5);
Tailwind
colors: {
  custom: {
    50: '#8a7f9a',
    500: '#5c4e71',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e71;
$custom-light: #8a7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e71",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 264,
    "s": 18.325,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.05844,
    "h": 302.5
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#5C4E71
secondary
#909C7F
accent
#BB6D9C
background
#F8F7F9
surface
#F0EEF2
border
#CBC9CC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5C4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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