#5B36C9#5B36C9

#5B36C9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.212 H 286.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5B36C9
RGBrgb(91, 54, 201)
HSLhsl(255, 58%, 50%)
HSVhsv(255, 73%, 79%)
CMYKcmyk(54.7%, 73.1%, 0%, 21.2%)
CIE-LABlab(36.14, 52.35, -70.49)
CIE-LCHlch(36.14, 87.80, 306.60°)
OKLaboklab(47.26% 0.0609 -0.2028)
OKLCHoklch(47.26% 0.212 286.7)
XYZxyz(16.1730, 9.0787, 56.1472)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36C9 #A4C936
analogous
#365BC9 #5B36C9 #A436C9
triadic
#5B36C9 #C95B36 #36C95B
tetradic
#5B36C9 #C9365B #A4C936 #36C9A4
square
#5B36C9 #C9365B #A4C936 #36C9A4
split-complementary
#5B36C9 #C9A436 #5BC936
monochromatic
#2F1C69 #452999 #5B36C9 #8266D6 #AA96E3

Accessibility & contrast

On white

7.46
#5B36C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5B36C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36C9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36C9#FFFFFF#000000##FFFFFF
##5B36C91.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#2B5E7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b36c9;
/* rgb */ color: rgb(91, 54, 201);
/* oklch */ color: oklch(47.3% 0.212 286.7);
Tailwind
colors: {
  custom: {
    50: '#9571db',
    500: '#5b36c9',
    950: '#000000',
  },
}
SCSS
$custom: #5b36c9;
$custom-light: #9571db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36c9",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 255.102,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.21175,
    "h": 286.7
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#5B36C9
secondary
#BECE8C
accent
#E147BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B36C9

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

Preview Lab → · Contrast checker → · Palette generator →

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