#5C4480#5C4480

#5C4480 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 44.0% C 0.099 H 300.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5C4480
RGBrgb(92, 68, 128)
HSLhsl(264, 31%, 38%)
HSVhsv(264, 47%, 50%)
CMYKcmyk(28.1%, 46.9%, 0%, 49.8%)
CIE-LABlab(33.92, 23.81, -30.24)
CIE-LCHlch(33.92, 38.49, 308.22°)
OKLaboklab(44% 0.0507 -0.0847)
OKLCHoklch(44% 0.099 300.9)
XYZxyz(10.3762, 7.9680, 21.4092)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4480 #688044
analogous
#444A80 #5C4480 #7A4480
triadic
#5C4480 #805C44 #44805C
tetradic
#5C4480 #80444A #688044 #44807A
square
#5C4480 #80444A #688044 #44807A
split-complementary
#5C4480 #807A44 #4A8044
monochromatic
#231A30 #3F2F58 #5C4480 #795AA7 #9982BD

Accessibility & contrast

On white

8.10
#5C4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5C4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4480
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4480#FFFFFF#000000##FFFFFF
##5C44801.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F82
Deuteranopia (green-blind)
#384F7E
Tritanopia (blue-blind)
#554F5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c4480;
/* rgb */ color: rgb(92, 68, 128);
/* oklch */ color: oklch(44.0% 0.099 300.9);
Tailwind
colors: {
  custom: {
    50: '#8c78a5',
    500: '#5c4480',
    950: '#000000',
  },
}
SCSS
$custom: #5c4480;
$custom-light: #8c78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4480",
  "rgb": {
    "r": 92,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 264,
    "s": 30.612,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.09869,
    "h": 300.9
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#5C4480
secondary
#95A878
accent
#C7619E
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C090F
muted
#7D7B7F

Preview Lab

Preview with #5C4480

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

Preview Lab → · Contrast checker → · Palette generator →

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