#5C3CBE#5C3CBE

#5C3CBE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.192 H 288.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5C3CBE
RGBrgb(92, 60, 190)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(51.6%, 68.4%, 0%, 25.5%)
CIE-LABlab(36.41, 46.20, -63.60)
CIE-LCHlch(36.41, 78.61, 305.99°)
OKLaboklab(47.19% 0.0594 -0.1826)
OKLCHoklch(47.19% 0.192 288)
XYZxyz(15.3210, 9.2240, 49.6783)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CBE #9EBE3C
analogous
#3C5DBE #5C3CBE #9D3CBE
triadic
#5C3CBE #BE5C3C #3CBE5C
tetradic
#5C3CBE #BE3C5D #9EBE3C #3CBE9D
square
#5C3CBE #BE3C5D #9EBE3C #3CBE9D
split-complementary
#5C3CBE #BE9D3C #5DBE3C
monochromatic
#2F1F61 #452D8F #5C3CBE #8168CF #A896DE

Accessibility & contrast

On white

7.38
#5C3CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5C3CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CBE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CBE#FFFFFF#000000##FFFFFF
##5C3CBE1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#375D78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3cbe;
/* rgb */ color: rgb(92, 60, 190);
/* oklch */ color: oklch(47.2% 0.192 288.0);
Tailwind
colors: {
  custom: {
    50: '#9374d3',
    500: '#5c3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cbe;
$custom-light: #9374d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cbe",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 254.769,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.19201,
    "h": 288
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#5C3CBE
secondary
#BACA8C
accent
#DB4CB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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