#5C35C4#5C35C4

#5C35C4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.207 H 288.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5C35C4
RGBrgb(92, 53, 196)
HSLhsl(256, 57%, 49%)
HSVhsv(256, 73%, 77%)
CMYKcmyk(53.1%, 73%, 0%, 23.1%)
CIE-LABlab(35.61, 51.58, -68.43)
CIE-LCHlch(35.61, 85.70, 307.01°)
OKLaboklab(46.78% 0.0643 -0.1967)
OKLCHoklch(46.78% 0.207 288.1)
XYZxyz(15.6476, 8.8063, 53.0891)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35C4 #9DC435
analogous
#3555C4 #5C35C4 #A435C4
triadic
#5C35C4 #C45C35 #35C45C
tetradic
#5C35C4 #C43555 #9DC435 #35C4A4
square
#5C35C4 #C43555 #9DC435 #35C4A4
split-complementary
#5C35C4 #C4A435 #55C435
monochromatic
#2F1B64 #452894 #5C35C4 #8162D4 #A892E1

Accessibility & contrast

On white

7.60
#5C35C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5C35C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35C4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35C4#FFFFFF#000000##FFFFFF
##5C35C41.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#335C79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c35c4;
/* rgb */ color: rgb(92, 53, 196);
/* oklch */ color: oklch(46.8% 0.207 288.1);
Tailwind
colors: {
  custom: {
    50: '#9470d7',
    500: '#5c35c4',
    950: '#000000',
  },
}
SCSS
$custom: #5c35c4;
$custom-light: #9470d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35c4",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 256.364,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.20697,
    "h": 288.1
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#5C35C4
secondary
#BACC88
accent
#E147B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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