#5C4C8A#5C4C8A

#5C4C8A is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.1% C 0.099 H 294.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5C4C8A
RGBrgb(92, 76, 138)
HSLhsl(255, 29%, 42%)
HSVhsv(255, 45%, 54%)
CMYKcmyk(33.3%, 44.9%, 0%, 45.9%)
CIE-LABlab(36.52, 21.54, -32.28)
CIE-LCHlch(36.52, 38.81, 303.71°)
OKLaboklab(46.14% 0.0404 -0.0906)
OKLCHoklch(46.14% 0.099 294)
XYZxyz(11.5844, 9.2790, 25.2205)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4C8A #7A8A4C
analogous
#4C5B8A #5C4C8A #7B4C8A
triadic
#5C4C8A #8A5C4C #4C8A5C
tetradic
#5C4C8A #8A4C5B #7A8A4C #4C8A7B
square
#5C4C8A #8A4C5B #7A8A4C #4C8A7B
split-complementary
#5C4C8A #8A7B4C #5B8A4C
monochromatic
#27213B #423663 #5C4C8A #7968AC #9C8FC1

Accessibility & contrast

On white

7.35
#5C4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5C4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4C8A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4C8A#FFFFFF#000000##FFFFFF
##5C4C8A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#525764
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c4c8a;
/* rgb */ color: rgb(92, 76, 138);
/* oklch */ color: oklch(46.1% 0.099 294.0);
Tailwind
colors: {
  custom: {
    50: '#8c7eac',
    500: '#5c4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #5c4c8a;
$custom-light: #8c7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4c8a",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 255.484,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.09926,
    "h": 294
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#5C4C8A
secondary
#A3AE84
accent
#C563AC
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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