#5C3EBA#5C3EBA

#5C3EBA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.185 H 288.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5C3EBA
RGBrgb(92, 62, 186)
HSLhsl(255, 50%, 49%)
HSVhsv(255, 67%, 73%)
CMYKcmyk(50.5%, 66.7%, 0%, 27.1%)
CIE-LABlab(36.49, 43.93, -61.12)
CIE-LCHlch(36.49, 75.27, 305.71°)
OKLaboklab(47.15% 0.0581 -0.1753)
OKLCHoklch(47.15% 0.185 288.3)
XYZxyz(14.9966, 9.2651, 47.4430)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EBA #9CBA3E
analogous
#3E5EBA #5C3EBA #9A3EBA
triadic
#5C3EBA #BA5C3E #3EBA5C
tetradic
#5C3EBA #BA3E5E #9CBA3E #3EBA9A
square
#5C3EBA #BA3E5E #9CBA3E #3EBA9A
split-complementary
#5C3EBA #BA9A3E #5EBA3E
monochromatic
#2F1F5E #452F8C #5C3EBA #8168CD #A796DC

Accessibility & contrast

On white

7.36
#5C3EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3EBA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EBA#FFFFFF#000000##FFFFFF
##5C3EBA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#3A5D77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c3eba;
/* rgb */ color: rgb(92, 62, 186);
/* oklch */ color: oklch(47.1% 0.185 288.3);
Tailwind
colors: {
  custom: {
    50: '#9275d0',
    500: '#5c3eba',
    950: '#000000',
  },
}
SCSS
$custom: #5c3eba;
$custom-light: #9275d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3eba",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 254.516,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.18469,
    "h": 288.3
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#5C3EBA
secondary
#B9C88C
accent
#DA4EB8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5C3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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