#5D36CD#5D36CD

#5D36CD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.216 H 286.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5D36CD
RGBrgb(93, 54, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 74%, 80%)
CMYKcmyk(54.6%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.69, 53.76, -71.90)
CIE-LCHlch(36.69, 89.77, 306.79°)
OKLaboklab(47.81% 0.0628 -0.2069)
OKLCHoklch(47.81% 0.216 286.9)
XYZxyz(16.8495, 9.3724, 58.6670)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36CD #A6CD36
analogous
#365ACD #5D36CD #A836CD
triadic
#5D36CD #CD5D36 #36CD5D
tetradic
#5D36CD #CD365A #A6CD36 #36CDA8
square
#5D36CD #CD365A #A6CD36 #36CDA8
split-complementary
#5D36CD #CDA836 #5ACD36
monochromatic
#301B6D #46279E #5D36CD #8467D9 #AC98E5

Accessibility & contrast

On white

7.31
#5D36CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5D36CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36CD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36CD#FFFFFF#000000##FFFFFF
##5D36CD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2C607F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d36cd;
/* rgb */ color: rgb(93, 54, 205);
/* oklch */ color: oklch(47.8% 0.216 286.9);
Tailwind
colors: {
  custom: {
    50: '#9671dd',
    500: '#5d36cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d36cd;
$custom-light: #9671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36cd",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 255.497,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.21619,
    "h": 286.9
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#5D36CD
secondary
#C0D18E
accent
#E344BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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