#5C35CC#5C35CC

#5C35CC is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.216 H 286.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5C35CC
RGBrgb(92, 53, 204)
HSLhsl(255, 60%, 50%)
HSVhsv(255, 74%, 80%)
CMYKcmyk(54.9%, 74%, 0%, 20%)
CIE-LABlab(36.33, 53.83, -71.92)
CIE-LCHlch(36.33, 89.83, 306.82°)
OKLaboklab(47.51% 0.0624 -0.2069)
OKLCHoklch(47.51% 0.216 286.8)
XYZxyz(16.5826, 9.1803, 58.0132)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35CC #A5CC35
analogous
#3559CC #5C35CC #A835CC
triadic
#5C35CC #CC5C35 #35CC5C
tetradic
#5C35CC #CC3559 #A5CC35 #35CCA8
square
#5C35CC #CC3559 #A5CC35 #35CCA8
split-complementary
#5C35CC #CCA835 #59CC35
monochromatic
#301B6B #46279C #5C35CC #8366D8 #AB97E5

Accessibility & contrast

On white

7.40
#5C35CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5C35CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35CC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35CC#FFFFFF#000000##FFFFFF
##5C35CC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#2B5F7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c35cc;
/* rgb */ color: rgb(92, 53, 204);
/* oklch */ color: oklch(47.5% 0.216 286.8);
Tailwind
colors: {
  custom: {
    50: '#9670dd',
    500: '#5c35cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c35cc;
$custom-light: #9670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35cc",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 255.497,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.21614,
    "h": 286.8
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#5C35CC
secondary
#BFD08D
accent
#E345BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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