#5E36CC#5E36CC

#5E36CC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.215 H 287.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5E36CC
RGBrgb(94, 54, 204)
HSLhsl(256, 60%, 51%)
HSVhsv(256, 74%, 80%)
CMYKcmyk(53.9%, 73.5%, 0%, 20%)
CIE-LABlab(36.70, 53.62, -71.30)
CIE-LCHlch(36.70, 89.21, 306.95°)
OKLaboklab(47.81% 0.0645 -0.2051)
OKLCHoklch(47.81% 0.215 287.5)
XYZxyz(16.8311, 9.3768, 58.0381)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36CC #A4CC36
analogous
#3659CC #5E36CC #A936CC
triadic
#5E36CC #CC5E36 #36CC5E
tetradic
#5E36CC #CC3659 #A4CC36 #36CCA9
square
#5E36CC #CC3659 #A4CC36 #36CCA9
split-complementary
#5E36CC #CCA936 #59CC36
monochromatic
#311B6C #47289D #5E36CC #8567D8 #AC98E5

Accessibility & contrast

On white

7.30
#5E36CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E36CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36CC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36CC#FFFFFF#000000##FFFFFF
##5E36CC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#305F7E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e36cc;
/* rgb */ color: rgb(94, 54, 204);
/* oklch */ color: oklch(47.8% 0.215 287.5);
Tailwind
colors: {
  custom: {
    50: '#9771dd',
    500: '#5e36cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e36cc;
$custom-light: #9771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36cc",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 256,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.21499,
    "h": 287.5
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#5E36CC
secondary
#BED08E
accent
#E345B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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