#5B36BC#5B36BC

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

Color values

HEX#5B36BC
RGBrgb(91, 54, 188)
HSLhsl(257, 55%, 47%)
HSVhsv(257, 71%, 74%)
CMYKcmyk(51.6%, 71.3%, 0%, 26.3%)
CIE-LABlab(34.99, 48.66, -64.76)
CIE-LCHlch(34.99, 81.00, 306.92°)
OKLaboklab(46.1% 0.0637 -0.186)
OKLCHoklch(46.1% 0.197 288.9)
XYZxyz(14.7080, 8.4926, 48.4315)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36BC #97BC36
analogous
#3654BC #5B36BC #9E36BC
triadic
#5B36BC #BC5B36 #36BC5B
tetradic
#5B36BC #BC3654 #97BC36 #36BC9E
square
#5B36BC #BC3654 #97BC36 #36BC9E
split-complementary
#5B36BC #BC9E36 #54BC36
monochromatic
#2D1B5D #44288C #5B36BC #7E5ED1 #A48EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B36BC#FFFFFF#000000##FFFFFF
##5B36BC1.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)
#0055C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#375975
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b36bc;
/* rgb */ color: rgb(91, 54, 188);
/* oklch */ color: oklch(46.1% 0.197 288.9);
Tailwind
colors: {
  custom: {
    50: '#9370d1',
    500: '#5b36bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b36bc;
$custom-light: #9370d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36bc",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 256.567,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46099,
    "c": 0.19661,
    "h": 288.9
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#5B36BC
secondary
#B6C985
accent
#DF49B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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