#5C3AAE#5C3AAE

#5C3AAE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.175 H 291.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5C3AAE
RGBrgb(92, 58, 174)
HSLhsl(258, 50%, 45%)
HSVhsv(258, 67%, 68%)
CMYKcmyk(47.1%, 66.7%, 0%, 31.8%)
CIE-LABlab(34.72, 42.69, -56.91)
CIE-LCHlch(34.72, 71.14, 306.88°)
OKLaboklab(45.57% 0.0637 -0.1629)
OKLCHoklch(45.57% 0.175 291.4)
XYZxyz(13.5645, 8.3569, 40.9345)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3AAE #8CAE3A
analogous
#3A52AE #5C3AAE #963AAE
triadic
#5C3AAE #AE5C3A #3AAE5C
tetradic
#5C3AAE #AE3A52 #8CAE3A #3AAE96
square
#5C3AAE #AE3A52 #8CAE3A #3AAE96
split-complementary
#5C3AAE #AE963A #52AE3A
monochromatic
#2B1B52 #442B80 #5C3AAE #7C5CC9 #A18AD8

Accessibility & contrast

On white

7.86
#5C3AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5C3AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3AAE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3AAE#FFFFFF#000000##FFFFFF
##5C3AAE1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#43566F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c3aae;
/* rgb */ color: rgb(92, 58, 174);
/* oklch */ color: oklch(45.6% 0.175 291.4);
Tailwind
colors: {
  custom: {
    50: '#9172c7',
    500: '#5c3aae',
    950: '#000000',
  },
}
SCSS
$custom: #5c3aae;
$custom-light: #9172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3aae",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 257.586,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45569,
    "c": 0.17493,
    "h": 291.4
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#5C3AAE
secondary
#AFC281
accent
#DA4EB1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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