#5E36D0#5E36D0

#5E36D0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.220 H 286.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5E36D0
RGBrgb(94, 54, 208)
HSLhsl(256, 62%, 51%)
HSVhsv(256, 74%, 82%)
CMYKcmyk(54.8%, 74%, 0%, 18.4%)
CIE-LABlab(37.06, 54.74, -73.03)
CIE-LCHlch(37.06, 91.26, 306.86°)
OKLaboklab(48.18% 0.0636 -0.2101)
OKLCHoklch(48.18% 0.22 286.8)
XYZxyz(17.3170, 9.5711, 60.5972)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36D0 #A8D036
analogous
#365BD0 #5E36D0 #AB36D0
triadic
#5E36D0 #D05E36 #36D05E
tetradic
#5E36D0 #D0365B #A8D036 #36D0AB
square
#5E36D0 #D0365B #A8D036 #36D0AB
split-complementary
#5E36D0 #D0AB36 #5BD036
monochromatic
#311A71 #4626A3 #5E36D0 #8668DC #AD99E7

Accessibility & contrast

On white

7.21
#5E36D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E36D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36D0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36D0#FFFFFF#000000##FFFFFF
##5E36D01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#2C6181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e36d0;
/* rgb */ color: rgb(94, 54, 208);
/* oklch */ color: oklch(48.2% 0.220 286.8);
Tailwind
colors: {
  custom: {
    50: '#9771e0',
    500: '#5e36d0',
    950: '#000000',
  },
}
SCSS
$custom: #5e36d0;
$custom-light: #9771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36d0",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 255.584,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.21953,
    "h": 286.8
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#5E36D0
secondary
#C1D38F
accent
#E543BB
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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