#5C35C7#5C35C7

#5C35C7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.210 H 287.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5C35C7
RGBrgb(92, 53, 199)
HSLhsl(256, 58%, 49%)
HSVhsv(256, 73%, 78%)
CMYKcmyk(53.8%, 73.4%, 0%, 22%)
CIE-LABlab(35.88, 52.43, -69.75)
CIE-LCHlch(35.88, 87.25, 306.93°)
OKLaboklab(47.05% 0.0636 -0.2006)
OKLCHoklch(47.05% 0.21 287.6)
XYZxyz(15.9925, 8.9442, 54.9055)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35C7 #A0C735
analogous
#3557C7 #5C35C7 #A535C7
triadic
#5C35C7 #C75C35 #35C75C
tetradic
#5C35C7 #C73557 #A0C735 #35C7A5
square
#5C35C7 #C73557 #A0C735 #35C7A5
split-complementary
#5C35C7 #C7A535 #57C735
monochromatic
#2F1B66 #462897 #5C35C7 #8264D6 #A994E2

Accessibility & contrast

On white

7.53
#5C35C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5C35C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35C7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35C7#FFFFFF#000000##FFFFFF
##5C35C71.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#305D7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c35c7;
/* rgb */ color: rgb(92, 53, 199);
/* oklch */ color: oklch(47.0% 0.210 287.6);
Tailwind
colors: {
  custom: {
    50: '#9570d9',
    500: '#5c35c7',
    950: '#000000',
  },
}
SCSS
$custom: #5c35c7;
$custom-light: #9570d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35c7",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 256.027,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.21043,
    "h": 287.6
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#5C35C7
secondary
#BCCE8A
accent
#E147B8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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