#5B36CA#5B36CA

#5B36CA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.213 H 286.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5B36CA
RGBrgb(91, 54, 202)
HSLhsl(255, 58%, 50%)
HSVhsv(255, 73%, 79%)
CMYKcmyk(55%, 73.3%, 0%, 20.8%)
CIE-LABlab(36.23, 52.63, -70.93)
CIE-LCHlch(36.23, 88.32, 306.58°)
OKLaboklab(47.35% 0.0607 -0.2041)
OKLCHoklch(47.35% 0.213 286.6)
XYZxyz(16.2910, 9.1259, 56.7687)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36CA #A5CA36
analogous
#365BCA #5B36CA #A536CA
triadic
#5B36CA #CA5B36 #36CA5B
tetradic
#5B36CA #CA365B #A5CA36 #36CAA5
square
#5B36CA #CA365B #A5CA36 #36CAA5
split-complementary
#5B36CA #CAA536 #5BCA36
monochromatic
#2F1C6A #45299A #5B36CA #8366D7 #AA97E4

Accessibility & contrast

On white

7.43
#5B36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5B36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36CA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36CA#FFFFFF#000000##FFFFFF
##5B36CA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#2A5F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b36ca;
/* rgb */ color: rgb(91, 54, 202);
/* oklch */ color: oklch(47.4% 0.213 286.6);
Tailwind
colors: {
  custom: {
    50: '#9571db',
    500: '#5b36ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b36ca;
$custom-light: #9571db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36ca",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 255,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47354,
    "c": 0.2129,
    "h": 286.6
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#5B36CA
secondary
#BECF8D
accent
#E146BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5B36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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