#5D36C0#5D36C0

#5D36C0 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.6% C 0.201 H 289.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5D36C0
RGBrgb(93, 54, 192)
HSLhsl(257, 56%, 48%)
HSVhsv(257, 72%, 75%)
CMYKcmyk(51.6%, 71.9%, 0%, 24.7%)
CIE-LABlab(35.54, 50.11, -66.20)
CIE-LCHlch(35.54, 83.03, 307.12°)
OKLaboklab(46.65% 0.0658 -0.1902)
OKLCHoklch(46.65% 0.201 289.1)
XYZxyz(15.3450, 8.7706, 50.7433)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36C0 #99C036
analogous
#3654C0 #5D36C0 #A236C0
triadic
#5D36C0 #C05D36 #36C05D
tetradic
#5D36C0 #C03654 #99C036 #36C0A2
square
#5D36C0 #C03654 #99C036 #36C0A2
split-complementary
#5D36C0 #C0A236 #54C036
monochromatic
#2F1B60 #462990 #5D36C0 #8161D2 #A790E0

Accessibility & contrast

On white

7.62
#5D36C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5D36C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36C0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36C0#FFFFFF#000000##FFFFFF
##5D36C01.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#395B78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d36c0;
/* rgb */ color: rgb(93, 54, 192);
/* oklch */ color: oklch(46.6% 0.201 289.1);
Tailwind
colors: {
  custom: {
    50: '#9471d4',
    500: '#5d36c0',
    950: '#000000',
  },
}
SCSS
$custom: #5d36c0;
$custom-light: #9471d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36c0",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 256.957,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.20123,
    "h": 289.1
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#5D36C0
secondary
#B8CB87
accent
#DF48B5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5D36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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