#5B36C8#5B36C8

#5B36C8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.211 H 286.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5B36C8
RGBrgb(91, 54, 200)
HSLhsl(255, 57%, 50%)
HSVhsv(255, 73%, 78%)
CMYKcmyk(54.5%, 73%, 0%, 21.6%)
CIE-LABlab(36.05, 52.06, -70.06)
CIE-LCHlch(36.05, 87.28, 306.62°)
OKLaboklab(47.17% 0.0611 -0.2015)
OKLCHoklch(47.17% 0.211 286.9)
XYZxyz(16.0558, 9.0318, 55.5297)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36C8 #A3C836
analogous
#365AC8 #5B36C8 #A436C8
triadic
#5B36C8 #C85B36 #36C85B
tetradic
#5B36C8 #C8365A #A3C836 #36C8A4
square
#5B36C8 #C8365A #A3C836 #36C8A4
split-complementary
#5B36C8 #C8A436 #5AC836
monochromatic
#2F1C68 #452998 #5B36C8 #8266D6 #A996E3

Accessibility & contrast

On white

7.48
#5B36C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5B36C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36C8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36C8#FFFFFF#000000##FFFFFF
##5B36C81.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#2C5E7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b36c8;
/* rgb */ color: rgb(91, 54, 200);
/* oklch */ color: oklch(47.2% 0.211 286.9);
Tailwind
colors: {
  custom: {
    50: '#9471da',
    500: '#5b36c8',
    950: '#000000',
  },
}
SCSS
$custom: #5b36c8;
$custom-light: #9471da;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36c8",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 255.205,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.21059,
    "h": 286.9
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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