#5D36C4#5D36C4

#5D36C4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.206 H 288.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5D36C4
RGBrgb(93, 54, 196)
HSLhsl(256, 57%, 49%)
HSVhsv(256, 72%, 77%)
CMYKcmyk(52.6%, 72.4%, 0%, 23.1%)
CIE-LABlab(35.89, 51.23, -67.97)
CIE-LCHlch(35.89, 85.12, 307.01°)
OKLaboklab(47% 0.0649 -0.1954)
OKLCHoklch(47% 0.206 288.4)
XYZxyz(15.7943, 8.9503, 53.1092)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36C4 #9DC436
analogous
#3656C4 #5D36C4 #A436C4
triadic
#5D36C4 #C45D36 #36C45D
tetradic
#5D36C4 #C43656 #9DC436 #36C4A4
square
#5D36C4 #C43656 #9DC436 #36C4A4
split-complementary
#5D36C4 #C4A436 #56C436
monochromatic
#2F1C64 #462994 #5D36C4 #8263D4 #A993E1

Accessibility & contrast

On white

7.53
#5D36C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5D36C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36C4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36C4#FFFFFF#000000##FFFFFF
##5D36C41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#355C7A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d36c4;
/* rgb */ color: rgb(93, 54, 196);
/* oklch */ color: oklch(47.0% 0.206 288.4);
Tailwind
colors: {
  custom: {
    50: '#9571d7',
    500: '#5d36c4',
    950: '#000000',
  },
}
SCSS
$custom: #5d36c4;
$custom-light: #9571d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36c4",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 256.479,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.20586,
    "h": 288.4
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#5D36C4
secondary
#BACC89
accent
#E048B6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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