#5D36CC#5D36CC

#5D36CC is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.215 H 287.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5D36CC
RGBrgb(93, 54, 204)
HSLhsl(256, 60%, 51%)
HSVhsv(256, 74%, 80%)
CMYKcmyk(54.4%, 73.5%, 0%, 20%)
CIE-LABlab(36.60, 53.48, -71.47)
CIE-LCHlch(36.60, 89.26, 306.81°)
OKLaboklab(47.72% 0.0631 -0.2056)
OKLCHoklch(47.72% 0.215 287.1)
XYZxyz(16.7292, 9.3242, 58.0333)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36CC #A5CC36
analogous
#365ACC #5D36CC #A836CC
triadic
#5D36CC #CC5D36 #36CC5D
tetradic
#5D36CC #CC365A #A5CC36 #36CCA8
square
#5D36CC #CC365A #A5CC36 #36CCA8
split-complementary
#5D36CC #CCA836 #5ACC36
monochromatic
#301B6C #46289D #5D36CC #8467D8 #AC98E5

Accessibility & contrast

On white

7.33
#5D36CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D36CC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36CC#FFFFFF#000000##FFFFFF
##5D36CC1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#2D5F7E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d36cc;
/* rgb */ color: rgb(93, 54, 204);
/* oklch */ color: oklch(47.7% 0.215 287.1);
Tailwind
colors: {
  custom: {
    50: '#9671dd',
    500: '#5d36cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d36cc;
$custom-light: #9671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36cc",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 255.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.21505,
    "h": 287.1
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#5D36CC
secondary
#BFD08E
accent
#E345BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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