#5E36BE#5E36BE

#5E36BE is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.199 H 289.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5E36BE
RGBrgb(94, 54, 190)
HSLhsl(258, 56%, 48%)
HSVhsv(258, 72%, 75%)
CMYKcmyk(50.5%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.47, 49.71, -65.14)
CIE-LCHlch(35.47, 81.94, 307.35°)
OKLaboklab(46.57% 0.0677 -0.187)
OKLCHoklch(46.57% 0.199 289.9)
XYZxyz(15.2268, 8.7351, 49.5889)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36BE #96BE36
analogous
#3652BE #5E36BE #A236BE
triadic
#5E36BE #BE5E36 #36BE5E
tetradic
#5E36BE #BE3652 #96BE36 #36BEA2
square
#5E36BE #BE3652 #96BE36 #36BEA2
split-complementary
#5E36BE #BEA236 #52BE36
monochromatic
#2F1B5F #46288E #5E36BE #8160D2 #A78FDF

Accessibility & contrast

On white

7.64
#5E36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5E36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36BE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36BE#FFFFFF#000000##FFFFFF
##5E36BE1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#3C5A76
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e36be;
/* rgb */ color: rgb(94, 54, 190);
/* oklch */ color: oklch(46.6% 0.199 289.9);
Tailwind
colors: {
  custom: {
    50: '#9571d3',
    500: '#5e36be',
    950: '#000000',
  },
}
SCSS
$custom: #5e36be;
$custom-light: #9571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36be",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 257.647,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.19887,
    "h": 289.9
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#5E36BE
secondary
#B6CA86
accent
#DF49B3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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