#5B36BF#5B36BF

#5B36BF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.200 H 288.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5B36BF
RGBrgb(91, 54, 191)
HSLhsl(256, 56%, 48%)
HSVhsv(256, 72%, 75%)
CMYKcmyk(52.4%, 71.7%, 0%, 25.1%)
CIE-LABlab(35.25, 49.51, -66.10)
CIE-LCHlch(35.25, 82.58, 306.84°)
OKLaboklab(46.36% 0.0631 -0.1899)
OKLCHoklch(46.36% 0.2 288.4)
XYZxyz(15.0348, 8.6234, 50.1524)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36BF #9ABF36
analogous
#3656BF #5B36BF #9F36BF
triadic
#5B36BF #BF5B36 #36BF5B
tetradic
#5B36BF #BF3656 #9ABF36 #36BF9F
square
#5B36BF #BF3656 #9ABF36 #36BF9F
split-complementary
#5B36BF #BF9F36 #56BF36
monochromatic
#2E1B60 #44298F #5B36BF #7F60D2 #A590E0

Accessibility & contrast

On white

7.71
#5B36BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B36BF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36BF#FFFFFF#000000##FFFFFF
##5B36BF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#355A77
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5b36bf;
/* rgb */ color: rgb(91, 54, 191);
/* oklch */ color: oklch(46.4% 0.200 288.4);
Tailwind
colors: {
  custom: {
    50: '#9370d3',
    500: '#5b36bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b36bf;
$custom-light: #9370d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36bf",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 256.204,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.20014,
    "h": 288.4
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#5B36BF
secondary
#B8CA87
accent
#DF49B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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