#5C3ED3#5C3ED3

#5C3ED3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.215 H 284.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5C3ED3
RGBrgb(92, 62, 211)
HSLhsl(252, 63%, 54%)
HSVhsv(252, 71%, 83%)
CMYKcmyk(56.4%, 70.6%, 0%, 17.3%)
CIE-LABlab(38.59, 51.24, -72.26)
CIE-LCHlch(38.59, 88.58, 305.34°)
OKLaboklab(49.3% 0.0539 -0.208)
OKLCHoklch(49.3% 0.215 284.5)
XYZxyz(17.8905, 10.4226, 62.6844)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3ED3 #B5D33E
analogous
#3E6AD3 #5C3ED3 #A73ED3
triadic
#5C3ED3 #D35C3E #3ED35C
tetradic
#5C3ED3 #D33E6A #B5D33E #3ED3A7
square
#5C3ED3 #D33E6A #B5D33E #3ED3A7
split-complementary
#5C3ED3 #D3A73E #6AD33E
monochromatic
#2F1C7B #4227AC #5C3ED3 #8670DE #B0A2EA

Accessibility & contrast

On white

6.81
#5C3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5C3ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3ED3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3ED3#FFFFFF#000000##FFFFFF
##5C3ED31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#206684
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c3ed3;
/* rgb */ color: rgb(92, 62, 211);
/* oklch */ color: oklch(49.3% 0.215 284.5);
Tailwind
colors: {
  custom: {
    50: '#9676e2',
    500: '#5c3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ed3;
$custom-light: #9676e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ed3",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 252.081,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.21485,
    "h": 284.5
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#5C3ED3
secondary
#C9D696
accent
#E642C5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0915
muted
#7E7B84

Preview Lab

Preview with #5C3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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