#5C586C#5C586C

#5C586C is a mid, muted violet. Relative luminance 0.103; OKLCH L 47.2% C 0.032 H 294.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5C586C
RGBrgb(92, 88, 108)
HSLhsl(252, 10%, 38%)
HSVhsv(252, 19%, 42%)
CMYKcmyk(14.8%, 18.5%, 0%, 57.6%)
CIE-LABlab(38.44, 6.08, -10.84)
CIE-LCHlch(38.44, 12.43, 299.31°)
OKLaboklab(47.16% 0.0133 -0.0294)
OKLCHoklch(47.16% 0.032 294.3)
XYZxyz(10.6096, 10.3374, 15.6208)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C586C #686C58
analogous
#585E6C #5C586C #66586C
triadic
#5C586C #6C5C58 #586C5C
tetradic
#5C586C #6C585E #686C58 #586C66
square
#5C586C #6C585E #686C58 #586C66
split-complementary
#5C586C #6C6658 #5E6C58
monochromatic
#232129 #3F3D4A #5C586C #79748D #9995A9

Accessibility & contrast

On white

6.85
#5C586C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5C586C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C586C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C586C#FFFFFF#000000##FFFFFF
##5C586C1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6D
Deuteranopia (green-blind)
#545A6B
Tritanopia (blue-blind)
#595B5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c586c;
/* rgb */ color: rgb(92, 88, 108);
/* oklch */ color: oklch(47.2% 0.032 294.3);
Tailwind
colors: {
  custom: {
    50: '#8a8796',
    500: '#5c586c',
    950: '#000000',
  },
}
SCSS
$custom: #5c586c;
$custom-light: #8a8796;
$custom-dark: #000000;
JSON
{
  "hex": "#5c586c",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 108
  },
  "hsl": {
    "h": 252,
    "s": 10.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.03227,
    "h": 294.3
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#5C586C
secondary
#959888
accent
#B375A7
background
#F8F8F9
surface
#F0EFF1
border
#CBCACB
text
#0B0B0D
muted
#7C7C7E

Preview Lab

Preview with #5C586C

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

Preview Lab → · Contrast checker → · Palette generator →

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