#5C3CBA#5C3CBA

#5C3CBA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.187 H 288.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5C3CBA
RGBrgb(92, 60, 186)
HSLhsl(255, 51%, 48%)
HSVhsv(255, 68%, 73%)
CMYKcmyk(50.5%, 67.7%, 0%, 27.1%)
CIE-LABlab(36.08, 45.04, -61.79)
CIE-LCHlch(36.08, 76.46, 306.09°)
OKLaboklab(46.85% 0.06 -0.1773)
OKLCHoklch(46.85% 0.187 288.7)
XYZxyz(14.8898, 9.0515, 47.4074)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CBA #9ABA3C
analogous
#3C5BBA #5C3CBA #9B3CBA
triadic
#5C3CBA #BA5C3C #3CBA5C
tetradic
#5C3CBA #BA3C5B #9ABA3C #3CBA9B
square
#5C3CBA #BA3C5B #9ABA3C #3CBA9B
split-complementary
#5C3CBA #BA9B3C #5BBA3C
monochromatic
#2E1E5D #452D8C #5C3CBA #8066CE #A694DC

Accessibility & contrast

On white

7.47
#5C3CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5C3CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CBA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CBA#FFFFFF#000000##FFFFFF
##5C3CBA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#3B5C76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c3cba;
/* rgb */ color: rgb(92, 60, 186);
/* oklch */ color: oklch(46.9% 0.187 288.7);
Tailwind
colors: {
  custom: {
    50: '#9374d0',
    500: '#5c3cba',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cba;
$custom-light: #9374d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cba",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 255.238,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.18714,
    "h": 288.7
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#5C3CBA
secondary
#B8C88A
accent
#DB4DB7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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