#5E36BB#5E36BB

#5E36BB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.195 H 290.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5E36BB
RGBrgb(94, 54, 187)
HSLhsl(258, 55%, 47%)
HSVhsv(258, 71%, 73%)
CMYKcmyk(49.7%, 71.1%, 0%, 26.7%)
CIE-LABlab(35.21, 48.87, -63.79)
CIE-LCHlch(35.21, 80.36, 307.45°)
OKLaboklab(46.31% 0.0683 -0.1831)
OKLCHoklch(46.31% 0.195 290.4)
XYZxyz(14.9023, 8.6053, 47.8798)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36BB #93BB36
analogous
#3651BB #5E36BB #A136BB
triadic
#5E36BB #BB5E36 #36BB5E
tetradic
#5E36BB #BB3651 #93BB36 #36BBA1
square
#5E36BB #BB3651 #93BB36 #36BBA1
split-complementary
#5E36BB #BBA136 #51BB36
monochromatic
#2E1B5C #46288C #5E36BB #805ED0 #A68DDE

Accessibility & contrast

On white

7.72
#5E36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36BB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36BB#FFFFFF#000000##FFFFFF
##5E36BB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#3E5975
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e36bb;
/* rgb */ color: rgb(94, 54, 187);
/* oklch */ color: oklch(46.3% 0.195 290.4);
Tailwind
colors: {
  custom: {
    50: '#9470d0',
    500: '#5e36bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e36bb;
$custom-light: #9470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36bb",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 258.045,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.19537,
    "h": 290.4
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#5E36BB
secondary
#B4C984
accent
#DF49B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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