#5C3ED2#5C3ED2

#5C3ED2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.214 H 284.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5C3ED2
RGBrgb(92, 62, 210)
HSLhsl(252, 62%, 53%)
HSVhsv(252, 70%, 82%)
CMYKcmyk(56.2%, 70.5%, 0%, 17.6%)
CIE-LABlab(38.50, 50.95, -71.82)
CIE-LCHlch(38.50, 88.06, 305.35°)
OKLaboklab(49.21% 0.0541 -0.2067)
OKLCHoklch(49.21% 0.214 284.7)
XYZxyz(17.7656, 10.3726, 62.0263)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ED2 #B4D23E
analogous
#3E6AD2 #5C3ED2 #A63ED2
triadic
#5C3ED2 #D25C3E #3ED25C
tetradic
#5C3ED2 #D23E6A #B4D23E #3ED2A6
square
#5C3ED2 #D23E6A #B4D23E #3ED2A6
split-complementary
#5C3ED2 #D2A63E #6AD23E
monochromatic
#2F1C79 #4228AB #5C3ED2 #8670DE #B0A1E9

Accessibility & contrast

On white

6.83
#5C3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5C3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ED2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ED2#FFFFFF#000000##FFFFFF
##5C3ED21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#216684
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3ed2;
/* rgb */ color: rgb(92, 62, 210);
/* oklch */ color: oklch(49.2% 0.214 284.7);
Tailwind
colors: {
  custom: {
    50: '#9676e1',
    500: '#5c3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ed2;
$custom-light: #9676e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ed2",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 252.162,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.21367,
    "h": 284.7
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#5C3ED2
secondary
#C9D696
accent
#E543C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5C3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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