#5C3AD5#5C3AD5

#5C3AD5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.221 H 284.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5C3AD5
RGBrgb(92, 58, 213)
HSLhsl(253, 65%, 53%)
HSVhsv(253, 73%, 84%)
CMYKcmyk(56.8%, 72.8%, 0%, 16.5%)
CIE-LABlab(38.03, 53.89, -74.33)
CIE-LCHlch(38.03, 91.81, 305.94°)
OKLaboklab(48.95% 0.0566 -0.214)
OKLCHoklch(48.95% 0.221 284.8)
XYZxyz(17.9333, 10.1044, 63.9433)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3AD5 #B3D53A
analogous
#3A65D5 #5C3AD5 #A93AD5
triadic
#5C3AD5 #D55C3A #3AD55C
tetradic
#5C3AD5 #D53A65 #B3D53A #3AD5A9
square
#5C3AD5 #D53A65 #B3D53A #3AD5A9
split-complementary
#5C3AD5 #D5A93A #65D53A
monochromatic
#2F1A7A #4325AD #5C3AD5 #866CE0 #AF9FEB

Accessibility & contrast

On white

6.95
#5C3AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5C3AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3AD5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3AD5#FFFFFF#000000##FFFFFF
##5C3AD51.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDA
Deuteranopia (green-blind)
#0055D2
Tritanopia (blue-blind)
#1D6584
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3ad5;
/* rgb */ color: rgb(92, 58, 213);
/* oklch */ color: oklch(49.0% 0.221 284.8);
Tailwind
colors: {
  custom: {
    50: '#9774e3',
    500: '#5c3ad5',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ad5;
$custom-light: #9774e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ad5",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 253.161,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.22138,
    "h": 284.8
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#5C3AD5
secondary
#C8D794
accent
#E840C3
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5C3AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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