#5B36D0#5B36D0

#5B36D0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.220 H 285.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5B36D0
RGBrgb(91, 54, 208)
HSLhsl(254, 62%, 51%)
HSVhsv(254, 74%, 82%)
CMYKcmyk(56.2%, 74%, 0%, 18.4%)
CIE-LABlab(36.77, 54.33, -73.51)
CIE-LCHlch(36.77, 91.41, 306.47°)
OKLaboklab(47.91% 0.0592 -0.2116)
OKLCHoklch(47.91% 0.22 285.6)
XYZxyz(17.0153, 9.4156, 60.5831)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36D0 #ABD036
analogous
#365ED0 #5B36D0 #A836D0
triadic
#5B36D0 #D05B36 #36D05B
tetradic
#5B36D0 #D0365E #ABD036 #36D0A8
square
#5B36D0 #D0365E #ABD036 #36D0A8
split-complementary
#5B36D0 #D0A836 #5ED036
monochromatic
#2F1A71 #4426A3 #5B36D0 #8368DC #AC99E7

Accessibility & contrast

On white

7.28
#5B36D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5B36D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36D0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36D0#FFFFFF#000000##FFFFFF
##5B36D01.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD4
Deuteranopia (green-blind)
#0052CD
Tritanopia (blue-blind)
#226180
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b36d0;
/* rgb */ color: rgb(91, 54, 208);
/* oklch */ color: oklch(47.9% 0.220 285.6);
Tailwind
colors: {
  custom: {
    50: '#9671e0',
    500: '#5b36d0',
    950: '#000000',
  },
}
SCSS
$custom: #5b36d0;
$custom-light: #9671e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36d0",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 254.416,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47906,
    "c": 0.21977,
    "h": 285.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#5B36D0
secondary
#C3D38F
accent
#E543BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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