#5E36C7#5E36C7

#5E36C7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.209 H 288.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5E36C7
RGBrgb(94, 54, 199)
HSLhsl(257, 57%, 50%)
HSVhsv(257, 73%, 78%)
CMYKcmyk(52.8%, 72.9%, 0%, 22%)
CIE-LABlab(36.25, 52.22, -69.12)
CIE-LCHlch(36.25, 86.63, 307.07°)
OKLaboklab(47.36% 0.0657 -0.1987)
OKLCHoklch(47.36% 0.209 288.3)
XYZxyz(16.2410, 9.1408, 54.9303)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36C7 #9FC736
analogous
#3656C7 #5E36C7 #A736C7
triadic
#5E36C7 #C75E36 #36C75E
tetradic
#5E36C7 #C73656 #9FC736 #36C7A7
square
#5E36C7 #C73656 #9FC736 #36C7A7
split-complementary
#5E36C7 #C7A736 #56C736
monochromatic
#311C67 #472997 #5E36C7 #8465D5 #AA95E2

Accessibility & contrast

On white

7.42
#5E36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5E36C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36C7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36C7#FFFFFF#000000##FFFFFF
##5E36C71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#355D7B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e36c7;
/* rgb */ color: rgb(94, 54, 199);
/* oklch */ color: oklch(47.4% 0.209 288.3);
Tailwind
colors: {
  custom: {
    50: '#9671d9',
    500: '#5e36c7',
    950: '#000000',
  },
}
SCSS
$custom: #5e36c7;
$custom-light: #9671d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36c7",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 256.552,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.20926,
    "h": 288.3
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#5E36C7
secondary
#BBCE8B
accent
#E147B6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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