#5C3ABA#5C3ABA

#5C3ABA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.190 H 289.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5C3ABA
RGBrgb(92, 58, 186)
HSLhsl(256, 52%, 48%)
HSVhsv(256, 69%, 73%)
CMYKcmyk(50.5%, 68.8%, 0%, 27.1%)
CIE-LABlab(35.69, 46.13, -62.44)
CIE-LCHlch(35.69, 77.63, 306.46°)
OKLaboklab(46.57% 0.0619 -0.1792)
OKLCHoklch(46.57% 0.19 289.1)
XYZxyz(14.7870, 8.8459, 47.3731)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ABA #98BA3A
analogous
#3A58BA #5C3ABA #9C3ABA
triadic
#5C3ABA #BA5C3A #3ABA5C
tetradic
#5C3ABA #BA3A58 #98BA3A #3ABA9C
square
#5C3ABA #BA3A58 #98BA3A #3ABA9C
split-complementary
#5C3ABA #BA9C3A #58BA3A
monochromatic
#2E1D5D #452B8B #5C3ABA #7F63CE #A692DD

Accessibility & contrast

On white

7.58
#5C3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ABA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ABA#FFFFFF#000000##FFFFFF
##5C3ABA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#3B5B75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3aba;
/* rgb */ color: rgb(92, 58, 186);
/* oklch */ color: oklch(46.6% 0.190 289.1);
Tailwind
colors: {
  custom: {
    50: '#9373d0',
    500: '#5c3aba',
    950: '#000000',
  },
}
SCSS
$custom: #5c3aba;
$custom-light: #9373d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3aba",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 255.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.18955,
    "h": 289.1
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#5C3ABA
secondary
#B7C888
accent
#DC4CB6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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