#5C3AC0#5C3AC0

#5C3AC0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.197 H 288.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5C3AC0
RGBrgb(92, 58, 192)
HSLhsl(255, 54%, 49%)
HSVhsv(255, 70%, 75%)
CMYKcmyk(52.1%, 69.8%, 0%, 24.7%)
CIE-LABlab(36.19, 47.86, -65.14)
CIE-LCHlch(36.19, 80.83, 306.30°)
OKLaboklab(47.08% 0.0609 -0.1871)
OKLCHoklch(47.08% 0.197 288)
XYZxyz(15.4383, 9.1065, 50.8032)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3AC0 #9EC03A
analogous
#3A5BC0 #5C3AC0 #9F3AC0
triadic
#5C3AC0 #C05C3A #3AC05C
tetradic
#5C3AC0 #C03A5B #9EC03A #3AC09F
square
#5C3AC0 #C03A5B #9EC03A #3AC09F
split-complementary
#5C3AC0 #C09F3A #5BC03A
monochromatic
#2F1E62 #452C91 #5C3AC0 #8166D1 #A895DF

Accessibility & contrast

On white

7.44
#5C3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C3AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3AC0
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3AC0#FFFFFF#000000##FFFFFF
##5C3AC01.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#365D79
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3ac0;
/* rgb */ color: rgb(92, 58, 192);
/* oklch */ color: oklch(47.1% 0.197 288.0);
Tailwind
colors: {
  custom: {
    50: '#9473d4',
    500: '#5c3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ac0;
$custom-light: #9473d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ac0",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 255.224,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47083,
    "c": 0.19676,
    "h": 288
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#5C3AC0
secondary
#BACA8B
accent
#DD4BB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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