#5C36CE#5C36CE

#5C36CE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.217 H 286.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5C36CE
RGBrgb(92, 54, 206)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(55.3%, 73.8%, 0%, 19.2%)
CIE-LABlab(36.69, 53.90, -72.49)
CIE-LCHlch(36.69, 90.34, 306.63°)
OKLaboklab(47.81% 0.0612 -0.2086)
OKLCHoklch(47.81% 0.217 286.3)
XYZxyz(16.8700, 9.3689, 59.3000)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36CE #A8CE36
analogous
#365CCE #5C36CE #A836CE
triadic
#5C36CE #CE5C36 #36CE5C
tetradic
#5C36CE #CE365C #A8CE36 #36CEA8
square
#5C36CE #CE365C #A8CE36 #36CEA8
split-complementary
#5C36CE #CEA836 #5CCE36
monochromatic
#301B6F #4527A0 #5C36CE #8467DA #AC98E6

Accessibility & contrast

On white

7.31
#5C36CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C36CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36CE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36CE#FFFFFF#000000##FFFFFF
##5C36CE1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#28607F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c36ce;
/* rgb */ color: rgb(92, 54, 206);
/* oklch */ color: oklch(47.8% 0.217 286.3);
Tailwind
colors: {
  custom: {
    50: '#9671de',
    500: '#5c36ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c36ce;
$custom-light: #9671de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36ce",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 206
  },
  "hsl": {
    "h": 255,
    "s": 60.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.21741,
    "h": 286.3
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#5C36CE
secondary
#C1D28E
accent
#E444BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C36CE

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

Preview Lab → · Contrast checker → · Palette generator →

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