#5E36D2#5E36D2

#5E36D2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.222 H 286.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5E36D2
RGBrgb(94, 54, 210)
HSLhsl(255, 63%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(55.2%, 74.3%, 0%, 17.6%)
CIE-LABlab(37.24, 55.30, -73.88)
CIE-LCHlch(37.24, 92.29, 306.81°)
OKLaboklab(48.36% 0.0631 -0.2126)
OKLCHoklch(48.36% 0.222 286.5)
XYZxyz(17.5646, 9.6702, 61.9013)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36D2 #AAD236
analogous
#365CD2 #5E36D2 #AC36D2
triadic
#5E36D2 #D25E36 #36D25E
tetradic
#5E36D2 #D2365C #AAD236 #36D2AC
square
#5E36D2 #D2365C #AAD236 #36D2AC
split-complementary
#5E36D2 #D2AC36 #5CD236
monochromatic
#311A74 #4625A6 #5E36D2 #8668DD #AE9AE8

Accessibility & contrast

On white

7.16
#5E36D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5E36D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36D2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36D2#FFFFFF#000000##FFFFFF
##5E36D21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#296182
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e36d2;
/* rgb */ color: rgb(94, 54, 210);
/* oklch */ color: oklch(48.4% 0.222 286.5);
Tailwind
colors: {
  custom: {
    50: '#9871e1',
    500: '#5e36d2',
    950: '#000000',
  },
}
SCSS
$custom: #5e36d2;
$custom-light: #9871e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36d2",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 255.385,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.22179,
    "h": 286.5
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#5E36D2
secondary
#C3D490
accent
#E641BC
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #5E36D2

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

Preview Lab → · Contrast checker → · Palette generator →

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