#5C3CC5#5C3CC5

#5C3CC5 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.200 H 286.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5C3CC5
RGBrgb(92, 60, 197)
HSLhsl(254, 54%, 50%)
HSVhsv(254, 70%, 77%)
CMYKcmyk(53.3%, 69.5%, 0%, 22.7%)
CIE-LABlab(37.00, 48.23, -66.74)
CIE-LCHlch(37.00, 82.35, 305.86°)
OKLaboklab(47.79% 0.0582 -0.1918)
OKLCHoklch(47.79% 0.2 286.9)
XYZxyz(16.1045, 9.5374, 53.8048)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CC5 #A5C53C
analogous
#3C60C5 #5C3CC5 #A13CC5
triadic
#5C3CC5 #C55C3C #3CC55C
tetradic
#5C3CC5 #C53C60 #A5C53C #3CC5A1
square
#5C3CC5 #C53C60 #A5C53C #3CC5A1
split-complementary
#5C3CC5 #C5A13C #60C53C
monochromatic
#301F68 #462D97 #5C3CC5 #836BD3 #AB9AE1

Accessibility & contrast

On white

7.22
#5C3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C3CC5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CC5#FFFFFF#000000##FFFFFF
##5C3CC51.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#31607C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3cc5;
/* rgb */ color: rgb(92, 60, 197);
/* oklch */ color: oklch(47.8% 0.200 286.9);
Tailwind
colors: {
  custom: {
    50: '#9474d8',
    500: '#5c3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cc5;
$custom-light: #9474d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cc5",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 254.015,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47792,
    "c": 0.20044,
    "h": 286.9
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#5C3CC5
secondary
#BFCD90
accent
#DE4ABB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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