#5C4C8D#5C4C8D

#5C4C8D is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.3% C 0.104 H 293.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5C4C8D
RGBrgb(92, 76, 141)
HSLhsl(255, 30%, 43%)
HSVhsv(255, 46%, 55%)
CMYKcmyk(34.8%, 46.1%, 0%, 44.7%)
CIE-LABlab(36.68, 22.39, -33.85)
CIE-LCHlch(36.68, 40.58, 303.48°)
OKLaboklab(46.31% 0.0409 -0.0952)
OKLCHoklch(46.31% 0.104 293.3)
XYZxyz(11.8046, 9.3671, 26.3802)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4C8D #7D8D4C
analogous
#4C5D8D #5C4C8D #7C4C8D
triadic
#5C4C8D #8D5C4C #4C8D5C
tetradic
#5C4C8D #8D4C5D #7D8D4C #4C8D7C
square
#5C4C8D #8D4C5D #7D8D4C #4C8D7C
split-complementary
#5C4C8D #8D7C4C #5D8D4C
monochromatic
#28213D #423765 #5C4C8D #7968AE #9D90C3

Accessibility & contrast

On white

7.31
#5C4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4C8D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4C8D#FFFFFF#000000##FFFFFF
##5C4C8D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#505865
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c4c8d;
/* rgb */ color: rgb(92, 76, 141);
/* oklch */ color: oklch(46.3% 0.104 293.3);
Tailwind
colors: {
  custom: {
    50: '#8c7eaf',
    500: '#5c4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #5c4c8d;
$custom-light: #8c7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4c8d",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 254.769,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.10365,
    "h": 293.3
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#5C4C8D
secondary
#A5AF85
accent
#C662AD
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5C4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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