#5E36C8#5E36C8

#5E36C8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.210 H 288.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5E36C8
RGBrgb(94, 54, 200)
HSLhsl(256, 57%, 50%)
HSVhsv(256, 73%, 78%)
CMYKcmyk(53%, 73%, 0%, 21.6%)
CIE-LABlab(36.34, 52.50, -69.56)
CIE-LCHlch(36.34, 87.15, 307.05°)
OKLaboklab(47.45% 0.0654 -0.2)
OKLCHoklch(47.45% 0.21 288.1)
XYZxyz(16.3575, 9.1873, 55.5438)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36C8 #A0C836
analogous
#3657C8 #5E36C8 #A736C8
triadic
#5E36C8 #C85E36 #36C85E
tetradic
#5E36C8 #C83657 #A0C836 #36C8A7
square
#5E36C8 #C83657 #A0C836 #36C8A7
split-complementary
#5E36C8 #C8A736 #57C836
monochromatic
#311C68 #472998 #5E36C8 #8466D6 #AB96E3

Accessibility & contrast

On white

7.40
#5E36C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5E36C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36C8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36C8#FFFFFF#000000##FFFFFF
##5E36C81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#345E7C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e36c8;
/* rgb */ color: rgb(94, 54, 200);
/* oklch */ color: oklch(47.5% 0.210 288.1);
Tailwind
colors: {
  custom: {
    50: '#9671da',
    500: '#5e36c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e36c8;
$custom-light: #9671da;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36c8",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 256.438,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.21042,
    "h": 288.1
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#5E36C8
secondary
#BCCE8C
accent
#E147B7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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