#5C3FCF#5C3FCF

#5C3FCF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.1% C 0.209 H 284.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5C3FCF
RGBrgb(92, 63, 207)
HSLhsl(252, 60%, 53%)
HSVhsv(252, 70%, 81%)
CMYKcmyk(55.6%, 69.6%, 0%, 18.8%)
CIE-LABlab(38.44, 49.54, -70.20)
CIE-LCHlch(38.44, 85.92, 305.21°)
OKLaboklab(49.08% 0.0538 -0.202)
OKLCHoklch(49.08% 0.209 284.9)
XYZxyz(17.4502, 10.3343, 60.0946)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C3FCF #B2CF3F
analogous
#3F6ACF #5C3FCF #A43FCF
triadic
#5C3FCF #CF5C3F #3FCF5C
tetradic
#5C3FCF #CF3F6A #B2CF3F #3FCFA4
square
#5C3FCF #CF3F6A #B2CF3F #3FCFA4
split-complementary
#5C3FCF #CFA43F #6ACF3F
monochromatic
#2F1E76 #432AA7 #5C3FCF #8670DB #AFA1E7

Accessibility & contrast

On white

6.85
#5C3FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5C3FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C3FCF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C3FCF#FFFFFF#000000##FFFFFF
##5C3FCF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#266582
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c3fcf;
/* rgb */ color: rgb(92, 63, 207);
/* oklch */ color: oklch(49.1% 0.209 284.9);
Tailwind
colors: {
  custom: {
    50: '#9577df',
    500: '#5c3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5c3fcf;
$custom-light: #9577df;
$custom-dark: #000000;
JSON
{
  "hex": "#5c3fcf",
  "rgb": {
    "r": 92,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 252.083,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.20901,
    "h": 284.9
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#5C3FCF
secondary
#C7D496
accent
#E345C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5C3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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