#5C3FCC#5C3FCC

#5C3FCC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.8% C 0.205 H 285.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5C3FCC
RGBrgb(92, 63, 204)
HSLhsl(252, 58%, 52%)
HSVhsv(252, 69%, 80%)
CMYKcmyk(54.9%, 69.1%, 0%, 20%)
CIE-LABlab(38.18, 48.66, -68.88)
CIE-LCHlch(38.18, 84.34, 305.24°)
OKLaboklab(48.82% 0.0544 -0.1981)
OKLCHoklch(48.82% 0.205 285.3)
XYZxyz(17.0869, 10.1890, 58.1813)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FCC #AFCC3F
analogous
#3F69CC #5C3FCC #A23FCC
triadic
#5C3FCC #CC5C3F #3FCC5C
tetradic
#5C3FCC #CC3F69 #AFCC3F #3FCCA2
square
#5C3FCC #CC3F69 #AFCC3F #3FCCA2
split-complementary
#5C3FCC #CCA23F #69CC3F
monochromatic
#301E72 #442BA3 #5C3FCC #856FD9 #AEA0E6

Accessibility & contrast

On white

6.91
#5C3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5C3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FCC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FCC#FFFFFF#000000##FFFFFF
##5C3FCC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#296481
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3fcc;
/* rgb */ color: rgb(92, 63, 204);
/* oklch */ color: oklch(48.8% 0.205 285.3);
Tailwind
colors: {
  custom: {
    50: '#9576dd',
    500: '#5c3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fcc;
$custom-light: #9576dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fcc",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 252.34,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.20541,
    "h": 285.3
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#5C3FCC
secondary
#C5D295
accent
#E147C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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