#5B36CD#5B36CD

#5B36CD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.216 H 286.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5B36CD
RGBrgb(91, 54, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 74%, 80%)
CMYKcmyk(55.6%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.50, 53.48, -72.22)
CIE-LCHlch(36.50, 89.87, 306.52°)
OKLaboklab(47.63% 0.06 -0.2079)
OKLCHoklch(47.63% 0.216 286.1)
XYZxyz(16.6497, 9.2693, 58.6576)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36CD #A8CD36
analogous
#365CCD #5B36CD #A636CD
triadic
#5B36CD #CD5B36 #36CD5B
tetradic
#5B36CD #CD365C #A8CD36 #36CDA6
square
#5B36CD #CD365C #A8CD36 #36CDA6
split-complementary
#5B36CD #CDA636 #5CCD36
monochromatic
#2F1B6D #45279E #5B36CD #8367D9 #AB98E5

Accessibility & contrast

On white

7.36
#5B36CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5B36CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36CD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36CD#FFFFFF#000000##FFFFFF
##5B36CD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#26607F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b36cd;
/* rgb */ color: rgb(91, 54, 205);
/* oklch */ color: oklch(47.6% 0.216 286.1);
Tailwind
colors: {
  custom: {
    50: '#9571dd',
    500: '#5b36cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b36cd;
$custom-light: #9571dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36cd",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 254.702,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.21634,
    "h": 286.1
  },
  "luminance": 0.0927
}

Semantic roles & 50–950 ramp

primary
#5B36CD
secondary
#C0D18E
accent
#E344BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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