#5C35CA#5C35CA

#5C35CA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.214 H 287.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5C35CA
RGBrgb(92, 53, 202)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 74%, 79%)
CMYKcmyk(54.5%, 73.8%, 0%, 20.8%)
CIE-LABlab(36.15, 53.27, -71.05)
CIE-LCHlch(36.15, 88.80, 306.86°)
OKLaboklab(47.32% 0.0629 -0.2044)
OKLCHoklch(47.32% 0.214 287.1)
XYZxyz(16.3442, 9.0849, 56.7580)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35CA #A3CA35
analogous
#3558CA #5C35CA #A735CA
triadic
#5C35CA #CA5C35 #35CA5C
tetradic
#5C35CA #CA3558 #A3CA35 #35CAA7
square
#5C35CA #CA3558 #A3CA35 #35CAA7
split-complementary
#5C35CA #CAA735 #58CA35
monochromatic
#301C69 #46289A #5C35CA #8365D7 #AA96E3

Accessibility & contrast

On white

7.45
#5C35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5C35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35CA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35CA#FFFFFF#000000##FFFFFF
##5C35CA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#2D5E7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c35ca;
/* rgb */ color: rgb(92, 53, 202);
/* oklch */ color: oklch(47.3% 0.214 287.1);
Tailwind
colors: {
  custom: {
    50: '#9570db',
    500: '#5c35ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c35ca;
$custom-light: #9570db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35ca",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 255.705,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.21386,
    "h": 287.1
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#5C35CA
secondary
#BDCF8C
accent
#E246B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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