#5C35BE#5C35BE

#5C35BE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.200 H 289.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5C35BE
RGBrgb(92, 53, 190)
HSLhsl(257, 56%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.6%, 72.1%, 0%, 25.5%)
CIE-LABlab(35.08, 49.90, -65.78)
CIE-LCHlch(35.08, 82.57, 307.18°)
OKLaboklab(46.24% 0.0656 -0.189)
OKLCHoklch(46.24% 0.2 289.2)
XYZxyz(14.9783, 8.5385, 49.5641)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35BE #97BE35
analogous
#3553BE #5C35BE #A035BE
triadic
#5C35BE #BE5C35 #35BE5C
tetradic
#5C35BE #BE3553 #97BE35 #35BEA0
square
#5C35BE #BE3553 #97BE35 #35BEA0
split-complementary
#5C35BE #BEA035 #53BE35
monochromatic
#2E1A5E #45288E #5C35BE #7F5ED2 #A58EDF

Accessibility & contrast

On white

7.76
#5C35BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5C35BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35BE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35BE#FFFFFF#000000##FFFFFF
##5C35BE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#385976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c35be;
/* rgb */ color: rgb(92, 53, 190);
/* oklch */ color: oklch(46.2% 0.200 289.2);
Tailwind
colors: {
  custom: {
    50: '#9470d3',
    500: '#5c35be',
    950: '#000000',
  },
}
SCSS
$custom: #5c35be;
$custom-light: #9470d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35be",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 257.08,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46242,
    "c": 0.20003,
    "h": 289.2
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#5C35BE
secondary
#B6CA85
accent
#E048B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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