#5C3BB8#5C3BB8

#5C3BB8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.5% C 0.186 H 289.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5C3BB8
RGBrgb(92, 59, 184)
HSLhsl(256, 51%, 48%)
HSVhsv(256, 68%, 72%)
CMYKcmyk(50%, 67.9%, 0%, 27.8%)
CIE-LABlab(35.72, 45.01, -61.20)
CIE-LCHlch(35.72, 75.97, 306.33°)
OKLaboklab(46.54% 0.0613 -0.1755)
OKLCHoklch(46.54% 0.186 289.2)
XYZxyz(14.6268, 8.8633, 46.2782)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BB8 #97B83B
analogous
#3B59B8 #5C3BB8 #9A3BB8
triadic
#5C3BB8 #B85C3B #3BB85C
tetradic
#5C3BB8 #B83B59 #97B83B #3BB89A
square
#5C3BB8 #B83B59 #97B83B #3BB89A
split-complementary
#5C3BB8 #B89A3B #59B83B
monochromatic
#2E1D5B #452C8A #5C3BB8 #7F63CD #A592DC

Accessibility & contrast

On white

7.57
#5C3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3BB8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BB8#FFFFFF#000000##FFFFFF
##5C3BB81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#3C5A75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3bb8;
/* rgb */ color: rgb(92, 59, 184);
/* oklch */ color: oklch(46.5% 0.186 289.2);
Tailwind
colors: {
  custom: {
    50: '#9273ce',
    500: '#5c3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bb8;
$custom-light: #9273ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bb8",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 255.84,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.18593,
    "h": 289.2
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#5C3BB8
secondary
#B6C788
accent
#DB4DB5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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