#5B36BE#5B36BE

#5B36BE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.199 H 288.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5B36BE
RGBrgb(91, 54, 190)
HSLhsl(256, 56%, 48%)
HSVhsv(256, 72%, 75%)
CMYKcmyk(52.1%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.16, 49.23, -65.65)
CIE-LCHlch(35.16, 82.06, 306.86°)
OKLaboklab(46.28% 0.0633 -0.1886)
OKLCHoklch(46.28% 0.199 288.6)
XYZxyz(14.9251, 8.5795, 49.5748)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36BE #99BE36
analogous
#3655BE #5B36BE #9F36BE
triadic
#5B36BE #BE5B36 #36BE5B
tetradic
#5B36BE #BE3655 #99BE36 #36BE9F
square
#5B36BE #BE3655 #99BE36 #36BE9F
split-complementary
#5B36BE #BE9F36 #55BE36
monochromatic
#2D1B5F #44288E #5B36BE #7F60D2 #A58FDF

Accessibility & contrast

On white

7.73
#5B36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5B36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36BE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36BE#FFFFFF#000000##FFFFFF
##5B36BE1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#365A76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5b36be;
/* rgb */ color: rgb(91, 54, 190);
/* oklch */ color: oklch(46.3% 0.199 288.6);
Tailwind
colors: {
  custom: {
    50: '#9370d3',
    500: '#5b36be',
    950: '#000000',
  },
}
SCSS
$custom: #5b36be;
$custom-light: #9370d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36be",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 256.324,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.19896,
    "h": 288.6
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#5B36BE
secondary
#B7CA86
accent
#DF49B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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