#5C3FAC#5C3FAC

#5C3FAC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.166 H 290.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5C3FAC
RGBrgb(92, 63, 172)
HSLhsl(256, 46%, 46%)
HSVhsv(256, 63%, 67%)
CMYKcmyk(46.5%, 63.4%, 0%, 32.5%)
CIE-LABlab(35.61, 39.28, -54.26)
CIE-LCHlch(35.61, 66.98, 305.90°)
OKLaboklab(46.17% 0.0586 -0.1551)
OKLCHoklch(46.17% 0.166 290.7)
XYZxyz(13.6354, 8.8084, 40.0035)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FAC #8FAC3F
analogous
#3F58AC #5C3FAC #923FAC
triadic
#5C3FAC #AC5C3F #3FAC5C
tetradic
#5C3FAC #AC3F58 #8FAC3F #3FAC92
square
#5C3FAC #AC3F58 #8FAC3F #3FAC92
split-complementary
#5C3FAC #AC923F #58AC3F
monochromatic
#2C1E52 #442F7F #5C3FAC #7D63C6 #A28FD6

Accessibility & contrast

On white

7.60
#5C3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5C3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3FAC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FAC#FFFFFF#000000##FFFFFF
##5C3FAC1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#43596F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3fac;
/* rgb */ color: rgb(92, 63, 172);
/* oklch */ color: oklch(46.2% 0.166 290.7);
Tailwind
colors: {
  custom: {
    50: '#9075c5',
    500: '#5c3fac',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fac;
$custom-light: #9075c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fac",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 255.963,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.16582,
    "h": 290.7
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#5C3FAC
secondary
#B1C186
accent
#D652B3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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