#5C476A#5C476A

#5C476A is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.4% C 0.062 H 311.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5C476A
RGBrgb(92, 71, 106)
HSLhsl(276, 20%, 35%)
HSVhsv(276, 33%, 42%)
CMYKcmyk(13.2%, 33%, 0%, 58.4%)
CIE-LABlab(33.61, 16.30, -16.96)
CIE-LCHlch(33.61, 23.52, 313.86°)
OKLaboklab(43.41% 0.0408 -0.0465)
OKLCHoklch(43.41% 0.062 311.3)
XYZxyz(9.2679, 7.8225, 14.6545)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C476A #556A47
analogous
#4B476A #5C476A #6A4767
triadic
#5C476A #6A5C47 #476A5C
tetradic
#5C476A #6A4B47 #556A47 #47676A
square
#5C476A #6A4B47 #556A47 #47676A
split-complementary
#5C476A #676A47 #476A4B
monochromatic
#1C1621 #3C2E45 #5C476A #7C608F #9A81AB

Accessibility & contrast

On white

8.19
#5C476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5C476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C476A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C476A#FFFFFF#000000##FFFFFF
##5C476A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6B
Deuteranopia (green-blind)
#464F69
Tritanopia (blue-blind)
#5B4C54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c476a;
/* rgb */ color: rgb(92, 71, 106);
/* oklch */ color: oklch(43.4% 0.062 311.3);
Tailwind
colors: {
  custom: {
    50: '#8a7a94',
    500: '#5c476a',
    950: '#000000',
  },
}
SCSS
$custom: #5c476a;
$custom-light: #8a7a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c476a",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 276,
    "s": 19.774,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.06186,
    "h": 311.3
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#5C476A
secondary
#839776
accent
#BC6B8C
background
#F8F7F9
surface
#F0EDF1
border
#CBC8CB
text
#0C090D
muted
#7D7B7E

Preview Lab

Preview with #5C476A

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

Preview Lab → · Contrast checker → · Palette generator →

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