#5E36D3#5E36D3

#5E36D3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.223 H 286.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5E36D3
RGBrgb(94, 54, 211)
HSLhsl(255, 64%, 52%)
HSVhsv(255, 74%, 83%)
CMYKcmyk(55.5%, 74.4%, 0%, 17.3%)
CIE-LABlab(37.34, 55.58, -74.31)
CIE-LCHlch(37.34, 92.79, 306.79°)
OKLaboklab(48.46% 0.0628 -0.2139)
OKLCHoklch(48.46% 0.223 286.4)
XYZxyz(17.6896, 9.7202, 62.5594)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36D3 #ABD336
analogous
#365CD3 #5E36D3 #AD36D3
triadic
#5E36D3 #D35E36 #36D35E
tetradic
#5E36D3 #D3365C #ABD336 #36D3AD
square
#5E36D3 #D3365C #ABD336 #36D3AD
split-complementary
#5E36D3 #D3AD36 #5CD336
monochromatic
#311A75 #4625A7 #5E36D3 #8668DE #AE9AE9

Accessibility & contrast

On white

7.13
#5E36D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5E36D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36D3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36D3#FFFFFF#000000##FFFFFF
##5E36D31.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#0053D0
Tritanopia (blue-blind)
#286282
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e36d3;
/* rgb */ color: rgb(94, 54, 211);
/* oklch */ color: oklch(48.5% 0.223 286.4);
Tailwind
colors: {
  custom: {
    50: '#9871e2',
    500: '#5e36d3',
    950: '#000000',
  },
}
SCSS
$custom: #5e36d3;
$custom-light: #9871e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36d3",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 255.287,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.22292,
    "h": 286.4
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#5E36D3
secondary
#C3D590
accent
#E741BD
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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