#5C3DAD#5C3DAD

#5C3DAD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.170 H 290.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5C3DAD
RGBrgb(92, 61, 173)
HSLhsl(257, 48%, 46%)
HSVhsv(257, 65%, 68%)
CMYKcmyk(46.8%, 64.7%, 0%, 32.2%)
CIE-LABlab(35.26, 40.72, -55.42)
CIE-LCHlch(35.26, 68.77, 306.30°)
OKLaboklab(45.94% 0.0607 -0.1586)
OKLCHoklch(45.94% 0.17 290.9)
XYZxyz(13.6231, 8.6294, 40.4749)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3DAD #8EAD3D
analogous
#3D56AD #5C3DAD #943DAD
triadic
#5C3DAD #AD5C3D #3DAD5C
tetradic
#5C3DAD #AD3D56 #8EAD3D #3DAD94
square
#5C3DAD #AD3D56 #8EAD3D #3DAD94
split-complementary
#5C3DAD #AD943D #56AD3D
monochromatic
#2C1D53 #442D80 #5C3DAD #7D60C7 #A28DD7

Accessibility & contrast

On white

7.70
#5C3DAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3DAD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3DAD#FFFFFF#000000##FFFFFF
##5C3DAD1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#43586F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3dad;
/* rgb */ color: rgb(92, 61, 173);
/* oklch */ color: oklch(45.9% 0.170 290.9);
Tailwind
colors: {
  custom: {
    50: '#9174c6',
    500: '#5c3dad',
    950: '#000000',
  },
}
SCSS
$custom: #5c3dad;
$custom-light: #9174c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3dad",
  "rgb": {
    "r": 92,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 256.607,
    "s": 47.863,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.16976,
    "h": 290.9
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#5C3DAD
secondary
#B1C284
accent
#D750B2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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