#5B36AA#5B36AA

#5B36AA is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.175 H 292.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5B36AA
RGBrgb(91, 54, 170)
HSLhsl(259, 52%, 44%)
HSVhsv(259, 68%, 67%)
CMYKcmyk(46.5%, 68.2%, 0%, 33.3%)
CIE-LABlab(33.49, 43.56, -56.52)
CIE-LCHlch(33.49, 71.36, 307.62°)
OKLaboklab(44.56% 0.067 -0.1618)
OKLCHoklch(44.56% 0.175 292.5)
XYZxyz(12.8872, 7.7643, 38.8421)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36AA #85AA36
analogous
#364BAA #5B36AA #9536AA
triadic
#5B36AA #AA5B36 #36AA5B
tetradic
#5B36AA #AA364B #85AA36 #36AA95
square
#5B36AA #AA364B #85AA36 #36AA95
split-complementary
#5B36AA #AA9536 #4BAA36
monochromatic
#29184D #42277C #5B36AA #7A54C9 #9E83D8

Accessibility & contrast

On white

8.23
#5B36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5B36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36AA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36AA#FFFFFF#000000##FFFFFF
##5B36AA1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#43536B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b36aa;
/* rgb */ color: rgb(91, 54, 170);
/* oklch */ color: oklch(44.6% 0.175 292.5);
Tailwind
colors: {
  custom: {
    50: '#9070c4',
    500: '#5b36aa',
    950: '#000000',
  },
}
SCSS
$custom: #5b36aa;
$custom-light: #9070c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36aa",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 259.138,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.17511,
    "h": 292.5
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#5B36AA
secondary
#ABC17B
accent
#DB4DAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5B36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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