#5C3CCC#5C3CCC

#5C3CCC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.4% C 0.209 H 285.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5C3CCC
RGBrgb(92, 60, 204)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 71%, 80%)
CMYKcmyk(54.9%, 70.6%, 0%, 20%)
CIE-LABlab(37.60, 50.26, -69.83)
CIE-LCHlch(37.60, 86.04, 305.75°)
OKLaboklab(48.41% 0.0569 -0.2009)
OKLCHoklch(48.41% 0.209 285.8)
XYZxyz(16.9253, 9.8657, 58.1275)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CCC #ACCC3C
analogous
#3C64CC #5C3CCC #A43CCC
triadic
#5C3CCC #CC5C3C #3CCC5C
tetradic
#5C3CCC #CC3C64 #ACCC3C #3CCCA4
square
#5C3CCC #CC3C64 #ACCC3C #3CCCA4
split-complementary
#5C3CCC #CCA43C #64CC3C
monochromatic
#301D70 #442AA1 #5C3CCC #856DD9 #AD9DE5

Accessibility & contrast

On white

7.06
#5C3CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5C3CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CCC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CCC#FFFFFF#000000##FFFFFF
##5C3CCC1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#2A6280
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c3ccc;
/* rgb */ color: rgb(92, 60, 204);
/* oklch */ color: oklch(48.4% 0.209 285.8);
Tailwind
colors: {
  custom: {
    50: '#9575dd',
    500: '#5c3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ccc;
$custom-light: #9575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ccc",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 253.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.20877,
    "h": 285.8
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#5C3CCC
secondary
#C3D192
accent
#E246BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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