#5C3DAE#5C3DAE

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

Color values

HEX#5C3DAE
RGBrgb(92, 61, 174)
HSLhsl(256, 48%, 46%)
HSVhsv(256, 65%, 68%)
CMYKcmyk(47.1%, 64.9%, 0%, 31.8%)
CIE-LABlab(35.34, 41.00, -55.89)
CIE-LCHlch(35.34, 69.32, 306.26°)
OKLaboklab(46.02% 0.0606 -0.1599)
OKLCHoklch(46.02% 0.171 290.7)
XYZxyz(13.7202, 8.6683, 40.9864)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DAE #8FAE3D
analogous
#3D56AE #5C3DAE #943DAE
triadic
#5C3DAE #AE5C3D #3DAE5C
tetradic
#5C3DAE #AE3D56 #8FAE3D #3DAE94
square
#5C3DAE #AE3D56 #8FAE3D #3DAE94
split-complementary
#5C3DAE #AE943D #56AE3D
monochromatic
#2C1D53 #442D81 #5C3DAE #7D61C8 #A28ED7

Accessibility & contrast

On white

7.68
#5C3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5C3DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3DAE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DAE#FFFFFF#000000##FFFFFF
##5C3DAE1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#425870
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3dae;
/* rgb */ color: rgb(92, 61, 174);
/* oklch */ color: oklch(46.0% 0.171 290.7);
Tailwind
colors: {
  custom: {
    50: '#9174c7',
    500: '#5c3dae',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dae;
$custom-light: #9174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dae",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 256.46,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46018,
    "c": 0.17103,
    "h": 290.7
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

primary
#5C3DAE
secondary
#B1C285
accent
#D850B2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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