#5C35BD#5C35BD

#5C35BD is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.199 H 289.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5C35BD
RGBrgb(92, 53, 189)
HSLhsl(257, 56%, 47%)
HSVhsv(257, 72%, 74%)
CMYKcmyk(51.3%, 72%, 0%, 25.9%)
CIE-LABlab(34.99, 49.62, -65.34)
CIE-LCHlch(34.99, 82.04, 307.21°)
OKLaboklab(46.15% 0.0658 -0.1877)
OKLCHoklch(46.15% 0.199 289.3)
XYZxyz(14.8694, 8.4950, 48.9905)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C35BD #96BD35
analogous
#3552BD #5C35BD #A035BD
triadic
#5C35BD #BD5C35 #35BD5C
tetradic
#5C35BD #BD3552 #96BD35 #35BDA0
square
#5C35BD #BD3552 #96BD35 #35BDA0
split-complementary
#5C35BD #BDA035 #52BD35
monochromatic
#2D1A5D #45288D #5C35BD #7F5DD2 #A58DDF

Accessibility & contrast

On white

7.78
#5C35BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5C35BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C35BD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C35BD#FFFFFF#000000##FFFFFF
##5C35BD1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#395976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c35bd;
/* rgb */ color: rgb(92, 53, 189);
/* oklch */ color: oklch(46.2% 0.199 289.3);
Tailwind
colors: {
  custom: {
    50: '#9370d2',
    500: '#5c35bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c35bd;
$custom-light: #9370d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c35bd",
  "rgb": {
    "r": 92,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 257.206,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.19887,
    "h": 289.3
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#5C35BD
secondary
#B6CA84
accent
#DF48B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5C35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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