#5C4591#5C4591

#5C4591 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.2% C 0.121 H 295.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5C4591
RGBrgb(92, 69, 145)
HSLhsl(258, 36%, 42%)
HSVhsv(258, 52%, 57%)
CMYKcmyk(36.6%, 52.4%, 0%, 43.1%)
CIE-LABlab(35.15, 27.89, -38.72)
CIE-LCHlch(35.15, 47.72, 305.76°)
OKLaboklab(45.25% 0.0512 -0.1095)
OKLCHoklch(45.25% 0.121 295.1)
XYZxyz(11.6513, 8.5757, 27.8240)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4591 #7A9145
analogous
#455491 #5C4591 #824591
triadic
#5C4591 #915C45 #45915C
tetradic
#5C4591 #914554 #7A9145 #459182
square
#5C4591 #914554 #7A9145 #459182
split-complementary
#5C4591 #918245 #549145
monochromatic
#271E3E #423168 #5C4591 #7960B3 #9C89C7

Accessibility & contrast

On white

7.73
#5C4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5C4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4591
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4591#FFFFFF#000000##FFFFFF
##5C45911.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285394
Deuteranopia (green-blind)
#2D528F
Tritanopia (blue-blind)
#4F5464
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c4591;
/* rgb */ color: rgb(92, 69, 145);
/* oklch */ color: oklch(45.2% 0.121 295.1);
Tailwind
colors: {
  custom: {
    50: '#8d79b2',
    500: '#5c4591',
    950: '#000000',
  },
}
SCSS
$custom: #5c4591;
$custom-light: #8d79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4591",
  "rgb": {
    "r": 92,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 258.158,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.12087,
    "h": 295.1
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#5C4591
secondary
#A3B280
accent
#CC5CAA
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #5C4591

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

Preview Lab → · Contrast checker → · Palette generator →

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