#5C35C8#5C35C8

#5C35C8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.212 H 287.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5C35C8
RGBrgb(92, 53, 200)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 74%, 78%)
CMYKcmyk(54%, 73.5%, 0%, 21.6%)
CIE-LABlab(35.97, 52.71, -70.18)
CIE-LCHlch(35.97, 87.77, 306.91°)
OKLaboklab(47.14% 0.0634 -0.2019)
OKLCHoklch(47.14% 0.212 287.4)
XYZxyz(16.1090, 8.9908, 55.5190)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35C8 #A1C835
analogous
#3558C8 #5C35C8 #A535C8
triadic
#5C35C8 #C85C35 #35C85C
tetradic
#5C35C8 #C83558 #A1C835 #35C8A5
square
#5C35C8 #C83558 #A1C835 #35C8A5
split-complementary
#5C35C8 #C8A535 #58C835
monochromatic
#2F1B67 #462898 #5C35C8 #8264D6 #A995E3

Accessibility & contrast

On white

7.50
#5C35C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5C35C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35C8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35C8#FFFFFF#000000##FFFFFF
##5C35C81.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#2F5D7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c35c8;
/* rgb */ color: rgb(92, 53, 200);
/* oklch */ color: oklch(47.1% 0.212 287.4);
Tailwind
colors: {
  custom: {
    50: '#9570da',
    500: '#5c35c8',
    950: '#000000',
  },
}
SCSS
$custom: #5c35c8;
$custom-light: #9570da;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35c8",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 255.918,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4714,
    "c": 0.21157,
    "h": 287.4
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#5C35C8
secondary
#BCCE8B
accent
#E146B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C35C8

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

Preview Lab → · Contrast checker → · Palette generator →

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