#5C3CC4#5C3CC4

#5C3CC4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.199 H 287.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5C3CC4
RGBrgb(92, 60, 196)
HSLhsl(254, 54%, 50%)
HSVhsv(254, 69%, 77%)
CMYKcmyk(53.1%, 69.4%, 0%, 23.1%)
CIE-LABlab(36.91, 47.94, -66.30)
CIE-LCHlch(36.91, 81.81, 305.87°)
OKLaboklab(47.71% 0.0584 -0.1905)
OKLCHoklch(47.71% 0.199 287)
XYZxyz(15.9903, 9.4917, 53.2034)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CC4 #A4C43C
analogous
#3C60C4 #5C3CC4 #A03CC4
triadic
#5C3CC4 #C45C3C #3CC45C
tetradic
#5C3CC4 #C43C60 #A4C43C #3CC4A0
square
#5C3CC4 #C43C60 #A4C43C #3CC4A0
split-complementary
#5C3CC4 #C4A03C #60C43C
monochromatic
#301F67 #462D96 #5C3CC4 #836BD2 #AB9AE0

Accessibility & contrast

On white

7.24
#5C3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C3CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CC4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CC4#FFFFFF#000000##FFFFFF
##5C3CC41.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#325F7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c3cc4;
/* rgb */ color: rgb(92, 60, 196);
/* oklch */ color: oklch(47.7% 0.199 287.0);
Tailwind
colors: {
  custom: {
    50: '#9474d7',
    500: '#5c3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #5c3cc4;
$custom-light: #9474d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3cc4",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 254.118,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.19924,
    "h": 287
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#5C3CC4
secondary
#BECC90
accent
#DD4BBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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