#5C3ABE#5C3ABE

#5C3ABE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.194 H 288.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5C3ABE
RGBrgb(92, 58, 190)
HSLhsl(255, 53%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51.6%, 69.5%, 0%, 25.5%)
CIE-LABlab(36.02, 47.28, -64.24)
CIE-LCHlch(36.02, 79.77, 306.35°)
OKLaboklab(46.91% 0.0612 -0.1845)
OKLCHoklch(46.91% 0.194 288.4)
XYZxyz(15.2182, 9.0184, 49.6441)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ABE #9CBE3A
analogous
#3A5ABE #5C3ABE #9E3ABE
triadic
#5C3ABE #BE5C3A #3ABE5C
tetradic
#5C3ABE #BE3A5A #9CBE3A #3ABE9E
square
#5C3ABE #BE3A5A #9CBE3A #3ABE9E
split-complementary
#5C3ABE #BE9E3A #5ABE3A
monochromatic
#2F1D60 #452C8F #5C3ABE #8165D0 #A794DE

Accessibility & contrast

On white

7.49
#5C3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5C3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ABE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ABE#FFFFFF#000000##FFFFFF
##5C3ABE1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#385C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3abe;
/* rgb */ color: rgb(92, 58, 190);
/* oklch */ color: oklch(46.9% 0.194 288.4);
Tailwind
colors: {
  custom: {
    50: '#9373d3',
    500: '#5c3abe',
    950: '#000000',
  },
}
SCSS
$custom: #5c3abe;
$custom-light: #9373d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3abe",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 255.455,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4691,
    "c": 0.19436,
    "h": 288.4
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#5C3ABE
secondary
#B9CA8A
accent
#DD4BB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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