#5C3FAE#5C3FAE

#5C3FAE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.168 H 290.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5C3FAE
RGBrgb(92, 63, 174)
HSLhsl(256, 47%, 46%)
HSVhsv(256, 64%, 68%)
CMYKcmyk(47.1%, 63.8%, 0%, 31.8%)
CIE-LABlab(35.76, 39.86, -55.20)
CIE-LCHlch(35.76, 68.09, 305.83°)
OKLaboklab(46.33% 0.0584 -0.1579)
OKLCHoklch(46.33% 0.168 290.3)
XYZxyz(13.8290, 8.8858, 41.0227)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FAE #91AE3F
analogous
#3F5AAE #5C3FAE #943FAE
triadic
#5C3FAE #AE5C3F #3FAE5C
tetradic
#5C3FAE #AE3F5A #91AE3F #3FAE94
square
#5C3FAE #AE3F5A #91AE3F #3FAE94
split-complementary
#5C3FAE #AE943F #5AAE3F
monochromatic
#2C1E54 #442F81 #5C3FAE #7D64C7 #A390D7

Accessibility & contrast

On white

7.56
#5C3FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5C3FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FAE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FAE#FFFFFF#000000##FFFFFF
##5C3FAE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#425970
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3fae;
/* rgb */ color: rgb(92, 63, 174);
/* oklch */ color: oklch(46.3% 0.168 290.3);
Tailwind
colors: {
  custom: {
    50: '#9176c7',
    500: '#5c3fae',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fae;
$custom-light: #9176c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fae",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 255.676,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46327,
    "c": 0.16836,
    "h": 290.3
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#5C3FAE
secondary
#B3C287
accent
#D651B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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