#5C4E95#5C4E95

#5C4E95 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.2% C 0.112 H 290.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5C4E95
RGBrgb(92, 78, 149)
HSLhsl(252, 31%, 45%)
HSVhsv(252, 48%, 58%)
CMYKcmyk(38.3%, 47.7%, 0%, 41.6%)
CIE-LABlab(37.65, 23.43, -37.17)
CIE-LCHlch(37.65, 43.94, 302.23°)
OKLaboklab(47.19% 0.0393 -0.1049)
OKLCHoklch(47.19% 0.112 290.5)
XYZxyz(12.5614, 9.8937, 29.6758)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E95 #87954E
analogous
#4E6495 #5C4E95 #804E95
triadic
#5C4E95 #955C4E #4E955C
tetradic
#5C4E95 #954E64 #87954E #4E9580
square
#5C4E95 #954E64 #87954E #4E9580
split-complementary
#5C4E95 #95804E #64954E
monochromatic
#2A2445 #43396D #5C4E95 #7B6DB3 #9F96C8

Accessibility & contrast

On white

7.05
#5C4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C4E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E95
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E95#FFFFFF#000000##FFFFFF
##5C4E951.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A98
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#4D5C6A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c4e95;
/* rgb */ color: rgb(92, 78, 149);
/* oklch */ color: oklch(47.2% 0.112 290.5);
Tailwind
colors: {
  custom: {
    50: '#8d7fb4',
    500: '#5c4e95',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e95;
$custom-light: #8d7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e95",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 251.831,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.11203,
    "h": 290.5
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#5C4E95
secondary
#ACB48A
accent
#C760B3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #5C4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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