#5D36CE#5D36CE

#5D36CE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.217 H 286.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5D36CE
RGBrgb(93, 54, 206)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(54.9%, 73.8%, 0%, 19.2%)
CIE-LABlab(36.78, 54.04, -72.33)
CIE-LCHlch(36.78, 90.29, 306.77°)
OKLaboklab(47.9% 0.0626 -0.2081)
OKLCHoklch(47.9% 0.217 286.7)
XYZxyz(16.9706, 9.4208, 59.3047)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36CE #A7CE36
analogous
#365BCE #5D36CE #A936CE
triadic
#5D36CE #CE5D36 #36CE5D
tetradic
#5D36CE #CE365B #A7CE36 #36CEA9
square
#5D36CE #CE365B #A7CE36 #36CEA9
split-complementary
#5D36CE #CEA936 #5BCE36
monochromatic
#301B6F #4627A0 #5D36CE #8567DA #AC98E6

Accessibility & contrast

On white

7.28
#5D36CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5D36CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D36CE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36CE#FFFFFF#000000##FFFFFF
##5D36CE1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#2B607F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d36ce;
/* rgb */ color: rgb(93, 54, 206);
/* oklch */ color: oklch(47.9% 0.217 286.7);
Tailwind
colors: {
  custom: {
    50: '#9671de',
    500: '#5d36ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d36ce;
$custom-light: #9671de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36ce",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 206
  },
  "hsl": {
    "h": 255.395,
    "s": 60.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.21733,
    "h": 286.7
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#5D36CE
secondary
#C0D28E
accent
#E444BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D36CE

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

Preview Lab → · Contrast checker → · Palette generator →

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