#5D36C2#5D36C2

#5D36C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.8% C 0.204 H 288.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5D36C2
RGBrgb(93, 54, 194)
HSLhsl(257, 56%, 49%)
HSVhsv(257, 72%, 76%)
CMYKcmyk(52.1%, 72.2%, 0%, 23.9%)
CIE-LABlab(35.71, 50.67, -67.09)
CIE-LCHlch(35.71, 84.07, 307.06°)
OKLaboklab(46.82% 0.0654 -0.1928)
OKLCHoklch(46.82% 0.204 288.7)
XYZxyz(15.5681, 8.8598, 51.9183)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36C2 #9BC236
analogous
#3655C2 #5D36C2 #A336C2
triadic
#5D36C2 #C25D36 #36C25D
tetradic
#5D36C2 #C23655 #9BC236 #36C2A3
square
#5D36C2 #C23655 #9BC236 #36C2A3
split-complementary
#5D36C2 #C2A336 #55C236
monochromatic
#2F1B62 #462992 #5D36C2 #8162D3 #A892E1

Accessibility & contrast

On white

7.58
#5D36C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5D36C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36C2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36C2#FFFFFF#000000##FFFFFF
##5D36C21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#375B79
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d36c2;
/* rgb */ color: rgb(93, 54, 194);
/* oklch */ color: oklch(46.8% 0.204 288.7);
Tailwind
colors: {
  custom: {
    50: '#9571d6',
    500: '#5d36c2',
    950: '#000000',
  },
}
SCSS
$custom: #5d36c2;
$custom-light: #9571d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36c2",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 256.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.20355,
    "h": 288.7
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#5D36C2
secondary
#B9CC88
accent
#E048B5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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