#5C3CCF#5C3CCF

#5C3CCF is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.212 H 285.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5C3CCF
RGBrgb(92, 60, 207)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.6%, 71%, 0%, 18.8%)
CIE-LABlab(37.86, 51.13, -71.14)
CIE-LCHlch(37.86, 87.61, 305.71°)
OKLaboklab(48.67% 0.0563 -0.2047)
OKLCHoklch(48.67% 0.212 285.4)
XYZxyz(17.2886, 10.0110, 60.0407)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3CCF #AFCF3C
analogous
#3C66CF #5C3CCF #A53CCF
triadic
#5C3CCF #CF5C3C #3CCF5C
tetradic
#5C3CCF #CF3C66 #AFCF3C #3CCFA5
square
#5C3CCF #CF3C66 #AFCF3C #3CCFA5
split-complementary
#5C3CCF #CFA53C #66CF3C
monochromatic
#301D74 #4429A5 #5C3CCF #856DDB #AE9EE7

Accessibility & contrast

On white

6.99
#5C3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#5C3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3CCF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3CCF#FFFFFF#000000##FFFFFF
##5C3CCF1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#266381
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5c3ccf;
/* rgb */ color: rgb(92, 60, 207);
/* oklch */ color: oklch(48.7% 0.212 285.4);
Tailwind
colors: {
  custom: {
    50: '#9675df',
    500: '#5c3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3ccf;
$custom-light: #9675df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3ccf",
  "rgb": {
    "r": 92,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 253.061,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.2123,
    "h": 285.4
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#5C3CCF
secondary
#C5D393
accent
#E444C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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