#5C4BA2#5C4BA2

#5C4BA2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.5% C 0.135 H 289.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5C4BA2
RGBrgb(92, 75, 162)
HSLhsl(252, 37%, 46%)
HSVhsv(252, 54%, 64%)
CMYKcmyk(43.2%, 53.7%, 0%, 36.5%)
CIE-LABlab(37.69, 29.13, -44.93)
CIE-LCHlch(37.69, 53.54, 302.95°)
OKLaboklab(47.48% 0.0445 -0.1277)
OKLCHoklch(47.48% 0.135 289.2)
XYZxyz(13.4495, 9.9156, 35.3807)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4BA2 #91A24B
analogous
#4B66A2 #5C4BA2 #884BA2
triadic
#5C4BA2 #A25C4B #4BA25C
tetradic
#5C4BA2 #A24B66 #91A24B #4BA288
square
#5C4BA2 #A24B66 #91A24B #4BA288
split-complementary
#5C4BA2 #A2884B #66A24B
monochromatic
#2C244E #443878 #5C4BA2 #7D6EBC #A398CF

Accessibility & contrast

On white

7.04
#5C4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C4BA2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4BA2#FFFFFF#000000##FFFFFF
##5C4BA21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#2457A0
Tritanopia (blue-blind)
#485D6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c4ba2;
/* rgb */ color: rgb(92, 75, 162);
/* oklch */ color: oklch(47.5% 0.135 289.2);
Tailwind
colors: {
  custom: {
    50: '#8e7dbe',
    500: '#5c4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ba2;
$custom-light: #8e7dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ba2",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 251.724,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47477,
    "c": 0.1352,
    "h": 289.2
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#5C4BA2
secondary
#B3BC8D
accent
#CD5BB7
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5C4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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