#5C3CB3#5C3CB3

#5C3CB3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.3% C 0.179 H 290.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5C3CB3
RGBrgb(92, 60, 179)
HSLhsl(256, 50%, 47%)
HSVhsv(256, 66%, 70%)
CMYKcmyk(48.6%, 66.5%, 0%, 29.8%)
CIE-LABlab(35.52, 43.02, -58.57)
CIE-LCHlch(35.52, 72.67, 306.30°)
OKLaboklab(46.27% 0.061 -0.1678)
OKLCHoklch(46.27% 0.179 290)
XYZxyz(14.1639, 8.7611, 43.5839)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CB3 #93B33C
analogous
#3C58B3 #5C3CB3 #983CB3
triadic
#5C3CB3 #B35C3C #3CB35C
tetradic
#5C3CB3 #B33C58 #93B33C #3CB398
square
#5C3CB3 #B33C58 #93B33C #3CB398
split-complementary
#5C3CB3 #B3983C #58B33C
monochromatic
#2D1D57 #442D85 #5C3CB3 #7E62CA #A490DA

Accessibility & contrast

On white

7.63
#5C3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5C3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CB3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CB3#FFFFFF#000000##FFFFFF
##5C3CB31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#3F5972
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3cb3;
/* rgb */ color: rgb(92, 60, 179);
/* oklch */ color: oklch(46.3% 0.179 290.0);
Tailwind
colors: {
  custom: {
    50: '#9274cb',
    500: '#5c3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cb3;
$custom-light: #9274cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cb3",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 256.134,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.17855,
    "h": 290
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#5C3CB3
secondary
#B4C586
accent
#D94EB4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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