#5C3ABB#5C3ABB

#5C3ABB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.191 H 288.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5C3ABB
RGBrgb(92, 58, 187)
HSLhsl(256, 53%, 48%)
HSVhsv(256, 69%, 73%)
CMYKcmyk(50.8%, 69%, 0%, 26.7%)
CIE-LABlab(35.77, 46.42, -62.89)
CIE-LCHlch(35.77, 78.17, 306.43°)
OKLaboklab(46.65% 0.0617 -0.1805)
OKLCHoklch(46.65% 0.191 288.9)
XYZxyz(14.8937, 8.8886, 47.9350)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ABB #99BB3A
analogous
#3A58BB #5C3ABB #9C3ABB
triadic
#5C3ABB #BB5C3A #3ABB5C
tetradic
#5C3ABB #BB3A58 #99BB3A #3ABB9C
square
#5C3ABB #BB3A58 #99BB3A #3ABB9C
split-complementary
#5C3ABB #BB9C3A #58BB3A
monochromatic
#2E1D5E #452C8C #5C3ABB #8063CF #A692DD

Accessibility & contrast

On white

7.56
#5C3ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5C3ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3ABB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ABB#FFFFFF#000000##FFFFFF
##5C3ABB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#3A5B76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3abb;
/* rgb */ color: rgb(92, 58, 187);
/* oklch */ color: oklch(46.7% 0.191 288.9);
Tailwind
colors: {
  custom: {
    50: '#9373d0',
    500: '#5c3abb',
    950: '#000000',
  },
}
SCSS
$custom: #5c3abb;
$custom-light: #9373d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3abb",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 255.814,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46653,
    "c": 0.19076,
    "h": 288.9
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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