#5C3EAC#5C3EAC

#5C3EAC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.167 H 290.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5C3EAC
RGBrgb(92, 62, 172)
HSLhsl(256, 47%, 46%)
HSVhsv(256, 64%, 67%)
CMYKcmyk(46.5%, 64%, 0%, 32.5%)
CIE-LABlab(35.40, 39.85, -54.61)
CIE-LCHlch(35.40, 67.60, 306.12°)
OKLaboklab(46.01% 0.0597 -0.1562)
OKLCHoklch(46.01% 0.167 290.9)
XYZxyz(13.5806, 8.6986, 39.9852)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EAC #8EAC3E
analogous
#3E57AC #5C3EAC #933EAC
triadic
#5C3EAC #AC5C3E #3EAC5C
tetradic
#5C3EAC #AC3E57 #8EAC3E #3EAC93
square
#5C3EAC #AC3E57 #8EAC3E #3EAC93
split-complementary
#5C3EAC #AC933E #57AC3E
monochromatic
#2C1E52 #442E7F #5C3EAC #7D61C6 #A28ED6

Accessibility & contrast

On white

7.66
#5C3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5C3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EAC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EAC#FFFFFF#000000##FFFFFF
##5C3EAC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#43586F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3eac;
/* rgb */ color: rgb(92, 62, 172);
/* oklch */ color: oklch(46.0% 0.167 290.9);
Tailwind
colors: {
  custom: {
    50: '#9175c5',
    500: '#5c3eac',
    950: '#000000',
  },
}
SCSS
$custom: #5c3eac;
$custom-light: #9175c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3eac",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 256.364,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.16717,
    "h": 290.9
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#5C3EAC
secondary
#B1C185
accent
#D751B2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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