#5E36BA#5E36BA

#5E36BA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.194 H 290.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5E36BA
RGBrgb(94, 54, 186)
HSLhsl(258, 55%, 47%)
HSVhsv(258, 71%, 73%)
CMYKcmyk(49.5%, 71%, 0%, 27.1%)
CIE-LABlab(35.13, 48.59, -63.34)
CIE-LCHlch(35.13, 79.83, 307.49°)
OKLaboklab(46.22% 0.0685 -0.1817)
OKLCHoklch(46.22% 0.194 290.6)
XYZxyz(14.7957, 8.5626, 47.3180)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36BA #92BA36
analogous
#3650BA #5E36BA #A036BA
triadic
#5E36BA #BA5E36 #36BA5E
tetradic
#5E36BA #BA3650 #92BA36 #36BAA0
square
#5E36BA #BA3650 #92BA36 #36BAA0
split-complementary
#5E36BA #BAA036 #50BA36
monochromatic
#2E1A5B #46288B #5E36BA #805DD0 #A58DDE

Accessibility & contrast

On white

7.74
#5E36BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E36BA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36BA#FFFFFF#000000##FFFFFF
##5E36BA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#3F5874
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e36ba;
/* rgb */ color: rgb(94, 54, 186);
/* oklch */ color: oklch(46.2% 0.194 290.6);
Tailwind
colors: {
  custom: {
    50: '#9470d0',
    500: '#5e36ba',
    950: '#000000',
  },
}
SCSS
$custom: #5e36ba;
$custom-light: #9470d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36ba",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 258.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.1942,
    "h": 290.6
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#5E36BA
secondary
#B3C884
accent
#DE49B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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