#5C3EB0#5C3EB0

#5C3EB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.172 H 290.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5C3EB0
RGBrgb(92, 62, 176)
HSLhsl(256, 48%, 47%)
HSVhsv(256, 65%, 69%)
CMYKcmyk(47.7%, 64.8%, 0%, 31%)
CIE-LABlab(35.70, 41.02, -56.49)
CIE-LCHlch(35.70, 69.81, 305.98°)
OKLaboklab(46.33% 0.0593 -0.1617)
OKLCHoklch(46.33% 0.172 290.1)
XYZxyz(13.9705, 8.8546, 42.0389)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EB0 #92B03E
analogous
#3E59B0 #5C3EB0 #953EB0
triadic
#5C3EB0 #B05C3E #3EB05C
tetradic
#5C3EB0 #B03E59 #92B03E #3EB095
square
#5C3EB0 #B03E59 #92B03E #3EB095
split-complementary
#5C3EB0 #B0953E #59B03E
monochromatic
#2D1E55 #442E83 #5C3EB0 #7E63C8 #A390D8

Accessibility & contrast

On white

7.58
#5C3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5C3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EB0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EB0#FFFFFF#000000##FFFFFF
##5C3EB01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#415971
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c3eb0;
/* rgb */ color: rgb(92, 62, 176);
/* oklch */ color: oklch(46.3% 0.172 290.1);
Tailwind
colors: {
  custom: {
    50: '#9175c8',
    500: '#5c3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3eb0;
$custom-light: #9175c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3eb0",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 255.789,
    "s": 47.899,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.17222,
    "h": 290.1
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#5C3EB0
secondary
#B3C387
accent
#D750B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5C3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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