#5C5474#5C5474

#5C5474 is a mid, muted violet. Relative luminance 0.099; OKLCH L 46.6% C 0.052 H 295.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5C5474
RGBrgb(92, 84, 116)
HSLhsl(255, 16%, 39%)
HSVhsv(255, 28%, 45%)
CMYKcmyk(20.7%, 27.6%, 0%, 54.5%)
CIE-LABlab(37.62, 10.57, -17.03)
CIE-LCHlch(37.62, 20.05, 301.83°)
OKLaboklab(46.63% 0.0226 -0.0468)
OKLCHoklch(46.63% 0.052 295.8)
XYZxyz(10.7356, 9.8768, 17.8604)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5474 #6C7454
analogous
#545C74 #5C5474 #6C5474
triadic
#5C5474 #745C54 #54745C
tetradic
#5C5474 #74545C #6C7454 #54746C
square
#5C5474 #74545C #6C7454 #54746C
split-complementary
#5C5474 #746C54 #5C7454
monochromatic
#24212D #403A51 #5C5474 #796F97 #9A92B0

Accessibility & contrast

On white

7.06
#5C5474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C5474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5474
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5474#FFFFFF#000000##FFFFFF
##5C54741.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5975
Deuteranopia (green-blind)
#4E5873
Tritanopia (blue-blind)
#57595F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c5474;
/* rgb */ color: rgb(92, 84, 116);
/* oklch */ color: oklch(46.6% 0.052 295.8);
Tailwind
colors: {
  custom: {
    50: '#8a849c',
    500: '#5c5474',
    950: '#000000',
  },
}
SCSS
$custom: #5c5474;
$custom-light: #8a849c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5474",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 255,
    "s": 16,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.05195,
    "h": 295.8
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#5C5474
secondary
#989E86
accent
#B96FA6
background
#F8F8F9
surface
#F0EFF2
border
#CBCACC
text
#0C0A0E
muted
#7D7C7E

Preview Lab

Preview with #5C5474

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

Preview Lab → · Contrast checker → · Palette generator →

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