#5C3EC0#5C3EC0

#5C3EC0 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.192 H 287.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5C3EC0
RGBrgb(92, 62, 192)
HSLhsl(254, 51%, 50%)
HSVhsv(254, 68%, 75%)
CMYKcmyk(52.1%, 67.7%, 0%, 24.7%)
CIE-LABlab(36.98, 45.69, -63.85)
CIE-LCHlch(36.98, 78.51, 305.58°)
OKLaboklab(47.65% 0.0572 -0.1833)
OKLCHoklch(47.65% 0.192 287.3)
XYZxyz(15.6479, 9.5256, 50.8731)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3EC0 #A2C03E
analogous
#3E61C0 #5C3EC0 #9D3EC0
triadic
#5C3EC0 #C05C3E #3EC05C
tetradic
#5C3EC0 #C03E61 #A2C03E #3EC09D
square
#5C3EC0 #C03E61 #A2C03E #3EC09D
split-complementary
#5C3EC0 #C09D3E #61C03E
monochromatic
#302063 #462F92 #5C3EC0 #836CCF #AA9ADE

Accessibility & contrast

On white

7.23
#5C3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5C3EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3EC0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3EC0#FFFFFF#000000##FFFFFF
##5C3EC01.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#365F7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3ec0;
/* rgb */ color: rgb(92, 62, 192);
/* oklch */ color: oklch(47.6% 0.192 287.3);
Tailwind
colors: {
  custom: {
    50: '#9375d4',
    500: '#5c3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ec0;
$custom-light: #9375d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ec0",
  "rgb": {
    "r": 92,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 253.846,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.19206,
    "h": 287.3
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#5C3EC0
secondary
#BDCA8F
accent
#DB4DBA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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