#5E36BC#5E36BC

#5E36BC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.197 H 290.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5E36BC
RGBrgb(94, 54, 188)
HSLhsl(258, 55%, 47%)
HSVhsv(258, 71%, 74%)
CMYKcmyk(50%, 71.3%, 0%, 26.3%)
CIE-LABlab(35.30, 49.15, -64.24)
CIE-LCHlch(35.30, 80.88, 307.42°)
OKLaboklab(46.39% 0.0681 -0.1844)
OKLCHoklch(46.39% 0.197 290.3)
XYZxyz(15.0098, 8.6482, 48.4456)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36BC #94BC36
analogous
#3651BC #5E36BC #A136BC
triadic
#5E36BC #BC5E36 #36BC5E
tetradic
#5E36BC #BC3651 #94BC36 #36BCA1
square
#5E36BC #BC3651 #94BC36 #36BCA1
split-complementary
#5E36BC #BCA136 #51BC36
monochromatic
#2E1B5D #46288C #5E36BC #815ED1 #A68EDF

Accessibility & contrast

On white

7.69
#5E36BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5E36BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36BC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36BC#FFFFFF#000000##FFFFFF
##5E36BC1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e36bc;
/* rgb */ color: rgb(94, 54, 188);
/* oklch */ color: oklch(46.4% 0.197 290.3);
Tailwind
colors: {
  custom: {
    50: '#9471d1',
    500: '#5e36bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e36bc;
$custom-light: #9471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36bc",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 257.91,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.19654,
    "h": 290.3
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#5E36BC
secondary
#B5C985
accent
#DF49B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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