#5C3CCD#5C3CCD

#5C3CCD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.210 H 285.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5C3CCD
RGBrgb(92, 60, 205)
HSLhsl(253, 59%, 52%)
HSVhsv(253, 71%, 80%)
CMYKcmyk(55.1%, 70.7%, 0%, 19.6%)
CIE-LABlab(37.69, 50.55, -70.27)
CIE-LCHlch(37.69, 86.56, 305.73°)
OKLaboklab(48.5% 0.0567 -0.2021)
OKLCHoklch(48.5% 0.21 285.7)
XYZxyz(17.0456, 9.9138, 58.7611)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CCD #ADCD3C
analogous
#3C65CD #5C3CCD #A43CCD
triadic
#5C3CCD #CD5C3C #3CCD5C
tetradic
#5C3CCD #CD3C65 #ADCD3C #3CCDA4
square
#5C3CCD #CD3C65 #ADCD3C #3CCDA4
split-complementary
#5C3CCD #CDA43C #65CD3C
monochromatic
#301D71 #442AA2 #5C3CCD #856DD9 #AD9DE6

Accessibility & contrast

On white

7.04
#5C3CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5C3CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C3CCD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CCD#FFFFFF#000000##FFFFFF
##5C3CCD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#296380
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3ccd;
/* rgb */ color: rgb(92, 60, 205);
/* oklch */ color: oklch(48.5% 0.210 285.7);
Tailwind
colors: {
  custom: {
    50: '#9575dd',
    500: '#5c3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ccd;
$custom-light: #9575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ccd",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 253.241,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.20995,
    "h": 285.7
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#5C3CCD
secondary
#C4D293
accent
#E245C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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