#5B36CE#5B36CE

#5B36CE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.217 H 285.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5B36CE
RGBrgb(91, 54, 206)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(55.8%, 73.8%, 0%, 19.2%)
CIE-LABlab(36.59, 53.76, -72.65)
CIE-LCHlch(36.59, 90.38, 306.50°)
OKLaboklab(47.72% 0.0597 -0.2091)
OKLCHoklch(47.72% 0.217 285.9)
XYZxyz(16.7708, 9.3178, 59.2953)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36CE #A9CE36
analogous
#365DCE #5B36CE #A736CE
triadic
#5B36CE #CE5B36 #36CE5B
tetradic
#5B36CE #CE365D #A9CE36 #36CEA7
square
#5B36CE #CE365D #A9CE36 #36CEA7
split-complementary
#5B36CE #CEA736 #5DCE36
monochromatic
#2F1B6F #4427A0 #5B36CE #8367DA #AB98E6

Accessibility & contrast

On white

7.33
#5B36CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5B36CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36CE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36CE#FFFFFF#000000##FFFFFF
##5B36CE1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b36ce;
/* rgb */ color: rgb(91, 54, 206);
/* oklch */ color: oklch(47.7% 0.217 285.9);
Tailwind
colors: {
  custom: {
    50: '#9571de',
    500: '#5b36ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b36ce;
$custom-light: #9571de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36ce",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 206
  },
  "hsl": {
    "h": 254.605,
    "s": 60.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.21749,
    "h": 285.9
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B36CE

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

Preview Lab → · Contrast checker → · Palette generator →

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