#5E36D1#5E36D1

#5E36D1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.221 H 286.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5E36D1
RGBrgb(94, 54, 209)
HSLhsl(255, 63%, 52%)
HSVhsv(255, 74%, 82%)
CMYKcmyk(55%, 74.2%, 0%, 18%)
CIE-LABlab(37.15, 55.02, -73.45)
CIE-LCHlch(37.15, 91.78, 306.83°)
OKLaboklab(48.27% 0.0633 -0.2114)
OKLCHoklch(48.27% 0.221 286.7)
XYZxyz(17.4404, 9.6205, 61.2472)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36D1 #A9D136
analogous
#365CD1 #5E36D1 #AC36D1
triadic
#5E36D1 #D15E36 #36D15E
tetradic
#5E36D1 #D1365C #A9D136 #36D1AC
square
#5E36D1 #D1365C #A9D136 #36D1AC
split-complementary
#5E36D1 #D1AC36 #5CD136
monochromatic
#311A72 #4626A4 #5E36D1 #8668DC #AE9AE8

Accessibility & contrast

On white

7.18
#5E36D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E36D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36D1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36D1#FFFFFF#000000##FFFFFF
##5E36D11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#2B6181
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e36d1;
/* rgb */ color: rgb(94, 54, 209);
/* oklch */ color: oklch(48.3% 0.221 286.7);
Tailwind
colors: {
  custom: {
    50: '#9771e0',
    500: '#5e36d1',
    950: '#000000',
  },
}
SCSS
$custom: #5e36d1;
$custom-light: #9771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36d1",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 255.484,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.22067,
    "h": 286.7
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#5E36D1
secondary
#C2D38F
accent
#E642BC
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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