#5C3BB9#5C3BB9

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

Color values

HEX#5C3BB9
RGBrgb(92, 59, 185)
HSLhsl(256, 52%, 48%)
HSVhsv(256, 68%, 73%)
CMYKcmyk(50.3%, 68.1%, 0%, 27.5%)
CIE-LABlab(35.80, 45.30, -61.66)
CIE-LCHlch(35.80, 76.51, 306.31°)
OKLaboklab(46.63% 0.0611 -0.1769)
OKLCHoklch(46.63% 0.187 289.1)
XYZxyz(14.7320, 8.9054, 46.8322)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BB9 #98B93B
analogous
#3B59B9 #5C3BB9 #9B3BB9
triadic
#5C3BB9 #B95C3B #3BB95C
tetradic
#5C3BB9 #B93B59 #98B93B #3BB99B
square
#5C3BB9 #B93B59 #98B93B #3BB99B
split-complementary
#5C3BB9 #B99B3B #59B93B
monochromatic
#2E1D5C #452C8B #5C3BB9 #7F64CD #A692DC

Accessibility & contrast

On white

7.55
#5C3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3BB9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BB9#FFFFFF#000000##FFFFFF
##5C3BB91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c3bb9;
/* rgb */ color: rgb(92, 59, 185);
/* oklch */ color: oklch(46.6% 0.187 289.1);
Tailwind
colors: {
  custom: {
    50: '#9273cf',
    500: '#5c3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bb9;
$custom-light: #9273cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bb9",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 255.714,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.18714,
    "h": 289.1
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#5C3BB9
secondary
#B7C788
accent
#DB4DB6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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