#5D36CA#5D36CA

#5D36CA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.213 H 287.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5D36CA
RGBrgb(93, 54, 202)
HSLhsl(256, 58%, 50%)
HSVhsv(256, 73%, 79%)
CMYKcmyk(54%, 73.3%, 0%, 20.8%)
CIE-LABlab(36.42, 52.92, -70.60)
CIE-LCHlch(36.42, 88.23, 306.85°)
OKLaboklab(47.54% 0.0635 -0.203)
OKLCHoklch(47.54% 0.213 287.4)
XYZxyz(16.4909, 9.2289, 56.7781)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36CA #A3CA36
analogous
#3659CA #5D36CA #A736CA
triadic
#5D36CA #CA5D36 #36CA5D
tetradic
#5D36CA #CA3659 #A3CA36 #36CAA7
square
#5D36CA #CA3659 #A3CA36 #36CAA7
split-complementary
#5D36CA #CAA736 #59CA36
monochromatic
#301C6A #47299A #5D36CA #8466D7 #AB97E4

Accessibility & contrast

On white

7.38
#5D36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5D36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36CA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36CA#FFFFFF#000000##FFFFFF
##5D36CA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#305E7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d36ca;
/* rgb */ color: rgb(93, 54, 202);
/* oklch */ color: oklch(47.5% 0.213 287.4);
Tailwind
colors: {
  custom: {
    50: '#9671db',
    500: '#5d36ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d36ca;
$custom-light: #9671db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36ca",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 255.811,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47539,
    "c": 0.21276,
    "h": 287.4
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#5D36CA
secondary
#BECF8D
accent
#E146B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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