#5E36CA#5E36CA

#5E36CA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.213 H 287.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5E36CA
RGBrgb(94, 54, 202)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 73%, 79%)
CMYKcmyk(53.5%, 73.3%, 0%, 20.8%)
CIE-LABlab(36.52, 53.06, -70.43)
CIE-LCHlch(36.52, 88.18, 306.99°)
OKLaboklab(47.63% 0.065 -0.2025)
OKLCHoklch(47.63% 0.213 287.8)
XYZxyz(16.5928, 9.2814, 56.7829)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36CA #A2CA36
analogous
#3658CA #5E36CA #A836CA
triadic
#5E36CA #CA5E36 #36CA5E
tetradic
#5E36CA #CA3658 #A2CA36 #36CAA8
square
#5E36CA #CA3658 #A2CA36 #36CAA8
split-complementary
#5E36CA #CAA836 #58CA36
monochromatic
#311C6A #47299A #5E36CA #8566D7 #AC97E4

Accessibility & contrast

On white

7.35
#5E36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5E36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36CA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36CA#FFFFFF#000000##FFFFFF
##5E36CA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#325E7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e36ca;
/* rgb */ color: rgb(94, 54, 202);
/* oklch */ color: oklch(47.6% 0.213 287.8);
Tailwind
colors: {
  custom: {
    50: '#9671db',
    500: '#5e36ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e36ca;
$custom-light: #9671db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36ca",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 256.216,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.2127,
    "h": 287.8
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#5E36CA
secondary
#BDCF8D
accent
#E146B8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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