#5C35CE#5C35CE

#5C35CE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.218 H 286.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5C35CE
RGBrgb(92, 53, 206)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(55.3%, 74.3%, 0%, 19.2%)
CIE-LABlab(36.51, 54.39, -72.78)
CIE-LCHlch(36.51, 90.86, 306.77°)
OKLaboklab(47.69% 0.0619 -0.2095)
OKLCHoklch(47.69% 0.218 286.5)
XYZxyz(16.8240, 9.2768, 59.2846)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35CE #A7CE35
analogous
#355ACE #5C35CE #A835CE
triadic
#5C35CE #CE5C35 #35CE5C
tetradic
#5C35CE #CE355A #A7CE35 #35CEA8
square
#5C35CE #CE355A #A7CE35 #35CEA8
split-complementary
#5C35CE #CEA835 #5ACE35
monochromatic
#301B6E #45279F #5C35CE #8466DA #AB98E6

Accessibility & contrast

On white

7.35
#5C35CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5C35CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35CE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35CE#FFFFFF#000000##FFFFFF
##5C35CE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#28607F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c35ce;
/* rgb */ color: rgb(92, 53, 206);
/* oklch */ color: oklch(47.7% 0.218 286.5);
Tailwind
colors: {
  custom: {
    50: '#9671de',
    500: '#5c35ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c35ce;
$custom-light: #9671de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35ce",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 206
  },
  "hsl": {
    "h": 255.294,
    "s": 60.956,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.21841,
    "h": 286.5
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#5C35CE
secondary
#C0D18D
accent
#E444BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C35CE

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

Preview Lab → · Contrast checker → · Palette generator →

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