#5C35CD#5C35CD

#5C35CD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.217 H 286.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5C35CD
RGBrgb(92, 53, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 74%, 80%)
CMYKcmyk(55.1%, 74.1%, 0%, 19.6%)
CIE-LABlab(36.42, 54.11, -72.35)
CIE-LCHlch(36.42, 90.34, 306.80°)
OKLaboklab(47.6% 0.0622 -0.2082)
OKLCHoklch(47.6% 0.217 286.6)
XYZxyz(16.7029, 9.2284, 58.6469)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35CD #A6CD35
analogous
#355ACD #5C35CD #A835CD
triadic
#5C35CD #CD5C35 #35CD5C
tetradic
#5C35CD #CD355A #A6CD35 #35CDA8
square
#5C35CD #CD355A #A6CD35 #35CDA8
split-complementary
#5C35CD #CDA835 #5ACD35
monochromatic
#301B6D #46279E #5C35CD #8466D9 #AB97E5

Accessibility & contrast

On white

7.38
#5C35CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5C35CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35CD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35CD#FFFFFF#000000##FFFFFF
##5C35CD1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#295F7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c35cd;
/* rgb */ color: rgb(92, 53, 205);
/* oklch */ color: oklch(47.6% 0.217 286.6);
Tailwind
colors: {
  custom: {
    50: '#9670dd',
    500: '#5c35cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c35cd;
$custom-light: #9670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35cd",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 255.395,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.21728,
    "h": 286.6
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#5C35CD
secondary
#BFD18D
accent
#E344BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C35CD

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

Preview Lab → · Contrast checker → · Palette generator →

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