#5B36AD#5B36AD

#5B36AD is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.179 H 291.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5B36AD
RGBrgb(91, 54, 173)
HSLhsl(259, 52%, 45%)
HSVhsv(259, 69%, 68%)
CMYKcmyk(47.4%, 68.8%, 0%, 32.2%)
CIE-LABlab(33.73, 44.41, -57.92)
CIE-LCHlch(33.73, 72.98, 307.48°)
OKLaboklab(44.81% 0.0665 -0.1659)
OKLCHoklch(44.81% 0.179 291.8)
XYZxyz(13.1743, 7.8792, 40.3537)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36AD #88AD36
analogous
#364DAD #5B36AD #9636AD
triadic
#5B36AD #AD5B36 #36AD5B
tetradic
#5B36AD #AD364D #88AD36 #36AD96
square
#5B36AD #AD364D #88AD36 #36AD96
split-complementary
#5B36AD #AD9636 #4DAD36
monochromatic
#2A1950 #42277E #5B36AD #7A56CA #9F85D9

Accessibility & contrast

On white

8.15
#5B36AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5B36AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36AD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36AD#FFFFFF#000000##FFFFFF
##5B36AD1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#42546D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b36ad;
/* rgb */ color: rgb(91, 54, 173);
/* oklch */ color: oklch(44.8% 0.179 291.8);
Tailwind
colors: {
  custom: {
    50: '#9170c6',
    500: '#5b36ad',
    950: '#000000',
  },
}
SCSS
$custom: #5b36ad;
$custom-light: #9170c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36ad",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 258.655,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.17874,
    "h": 291.8
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#5B36AD
secondary
#ADC27C
accent
#DC4CAF
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5B36AD

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

Preview Lab → · Contrast checker → · Palette generator →

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