#5C3BB3#5C3BB3

#5C3BB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.180 H 290.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5C3BB3
RGBrgb(92, 59, 179)
HSLhsl(257, 50%, 47%)
HSVhsv(257, 67%, 70%)
CMYKcmyk(48.6%, 67%, 0%, 29.8%)
CIE-LABlab(35.32, 43.57, -58.90)
CIE-LCHlch(35.32, 73.26, 306.49°)
OKLaboklab(46.13% 0.062 -0.1688)
OKLCHoklch(46.13% 0.18 290.2)
XYZxyz(14.1120, 8.6574, 43.5666)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3BB3 #92B33B
analogous
#3B56B3 #5C3BB3 #983BB3
triadic
#5C3BB3 #B35C3B #3BB35C
tetradic
#5C3BB3 #B33B56 #92B33B #3BB398
square
#5C3BB3 #B33B56 #92B33B #3BB398
split-complementary
#5C3BB3 #B3983B #56B33B
monochromatic
#2D1D57 #442C85 #5C3BB3 #7E60CB #A38EDA

Accessibility & contrast

On white

7.69
#5C3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5C3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3BB3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3BB3#FFFFFF#000000##FFFFFF
##5C3BB31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#3F5972
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c3bb3;
/* rgb */ color: rgb(92, 59, 179);
/* oklch */ color: oklch(46.1% 0.180 290.2);
Tailwind
colors: {
  custom: {
    50: '#9273cb',
    500: '#5c3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3bb3;
$custom-light: #9273cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3bb3",
  "rgb": {
    "r": 92,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 256.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.17981,
    "h": 290.2
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#5C3BB3
secondary
#B3C585
accent
#DA4EB3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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