#5C36C4#5C36C4

#5C36C4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.206 H 288.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#5C36C4
RGBrgb(92, 54, 196)
HSLhsl(256, 57%, 49%)
HSVhsv(256, 72%, 77%)
CMYKcmyk(53.1%, 72.4%, 0%, 23.1%)
CIE-LABlab(35.79, 51.08, -68.14)
CIE-LCHlch(35.79, 85.16, 306.86°)
OKLaboklab(46.91% 0.0635 -0.1959)
OKLCHoklch(46.91% 0.206 288)
XYZxyz(15.6937, 8.8984, 53.1045)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36C4 #9EC436
analogous
#3657C4 #5C36C4 #A336C4
triadic
#5C36C4 #C45C36 #36C45C
tetradic
#5C36C4 #C43657 #9EC436 #36C4A3
square
#5C36C4 #C43657 #9EC436 #36C4A3
split-complementary
#5C36C4 #C4A336 #57C436
monochromatic
#2F1C64 #452994 #5C36C4 #8163D4 #A893E1

Accessibility & contrast

On white

7.55
#5C36C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5C36C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36C4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36C4#FFFFFF#000000##FFFFFF
##5C36C41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c36c4;
/* rgb */ color: rgb(92, 54, 196);
/* oklch */ color: oklch(46.9% 0.206 288.0);
Tailwind
colors: {
  custom: {
    50: '#9471d7',
    500: '#5c36c4',
    950: '#000000',
  },
}
SCSS
$custom: #5c36c4;
$custom-light: #9471d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36c4",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 256.056,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46905,
    "c": 0.20591,
    "h": 288
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#5C36C4
secondary
#BACC89
accent
#E048B7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5C36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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