#5C3AB2#5C3AB2

#5C3AB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.180 H 290.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5C3AB2
RGBrgb(92, 58, 178)
HSLhsl(257, 51%, 46%)
HSVhsv(257, 67%, 70%)
CMYKcmyk(48.3%, 67.4%, 0%, 30.2%)
CIE-LABlab(35.03, 43.84, -58.77)
CIE-LCHlch(35.03, 73.32, 306.72°)
OKLaboklab(45.9% 0.0632 -0.1684)
OKLCHoklch(45.9% 0.18 290.6)
XYZxyz(13.9603, 8.5152, 43.0189)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3AB2 #90B23A
analogous
#3A54B2 #5C3AB2 #983AB2
triadic
#5C3AB2 #B25C3A #3AB25C
tetradic
#5C3AB2 #B23A54 #90B23A #3AB298
square
#5C3AB2 #B23A54 #90B23A #3AB298
split-complementary
#5C3AB2 #B2983A #54B23A
monochromatic
#2C1C56 #442B84 #5C3AB2 #7D5FCB #A28DDA

Accessibility & contrast

On white

7.77
#5C3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5C3AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3AB2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3AB2#FFFFFF#000000##FFFFFF
##5C3AB21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#405871
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c3ab2;
/* rgb */ color: rgb(92, 58, 178);
/* oklch */ color: oklch(45.9% 0.180 290.6);
Tailwind
colors: {
  custom: {
    50: '#9272ca',
    500: '#5c3ab2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ab2;
$custom-light: #9272ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ab2",
  "rgb": {
    "r": 92,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 257,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.17984,
    "h": 290.6
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#5C3AB2
secondary
#B2C483
accent
#DA4DB2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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