#5D36C7#5D36C7

#5D36C7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.209 H 287.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5D36C7
RGBrgb(93, 54, 199)
HSLhsl(256, 57%, 50%)
HSVhsv(256, 73%, 78%)
CMYKcmyk(53.3%, 72.9%, 0%, 22%)
CIE-LABlab(36.15, 52.08, -69.29)
CIE-LCHlch(36.15, 86.68, 306.93°)
OKLaboklab(47.27% 0.0642 -0.1992)
OKLCHoklch(47.27% 0.209 287.9)
XYZxyz(16.1391, 9.0882, 54.9256)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36C7 #A0C736
analogous
#3658C7 #5D36C7 #A636C7
triadic
#5D36C7 #C75D36 #36C75D
tetradic
#5D36C7 #C73658 #A0C736 #36C7A6
square
#5D36C7 #C73658 #A0C736 #36C7A6
split-complementary
#5D36C7 #C7A636 #58C736
monochromatic
#301C67 #472997 #5D36C7 #8365D5 #AA95E2

Accessibility & contrast

On white

7.45
#5D36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D36C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36C7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36C7#FFFFFF#000000##FFFFFF
##5D36C71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0051C4
Tritanopia (blue-blind)
#325D7B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d36c7;
/* rgb */ color: rgb(93, 54, 199);
/* oklch */ color: oklch(47.3% 0.209 287.9);
Tailwind
colors: {
  custom: {
    50: '#9571d9',
    500: '#5d36c7',
    950: '#000000',
  },
}
SCSS
$custom: #5d36c7;
$custom-light: #9571d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36c7",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 256.138,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.20932,
    "h": 287.9
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#5D36C7
secondary
#BCCE8B
accent
#E147B7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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