#5A36BE#5A36BE

#5A36BE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.199 H 288.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5A36BE
RGBrgb(90, 54, 190)
HSLhsl(256, 56%, 48%)
HSVhsv(256, 72%, 75%)
CMYKcmyk(52.6%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.06, 49.07, -65.82)
CIE-LCHlch(35.06, 82.10, 306.70°)
OKLaboklab(46.18% 0.0619 -0.1892)
OKLCHoklch(46.18% 0.199 288.1)
XYZxyz(14.8271, 8.5290, 49.5702)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A36BE #9ABE36
analogous
#3656BE #5A36BE #9E36BE
triadic
#5A36BE #BE5A36 #36BE5A
tetradic
#5A36BE #BE3656 #9ABE36 #36BE9E
square
#5A36BE #BE3656 #9ABE36 #36BE9E
split-complementary
#5A36BE #BE9E36 #56BE36
monochromatic
#2D1B5F #43288E #5A36BE #7E60D2 #A48FDF

Accessibility & contrast

On white

7.76
#5A36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5A36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A36BE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A36BE#FFFFFF#000000##FFFFFF
##5A36BE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#335A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5a36be;
/* rgb */ color: rgb(90, 54, 190);
/* oklch */ color: oklch(46.2% 0.199 288.1);
Tailwind
colors: {
  custom: {
    50: '#9270d3',
    500: '#5a36be',
    950: '#000000',
  },
}
SCSS
$custom: #5a36be;
$custom-light: #9270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a36be",
  "rgb": {
    "r": 90,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 255.882,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.19901,
    "h": 288.1
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#5A36BE
secondary
#B8CA86
accent
#DF49B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5A36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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