#5C36CA#5C36CA

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

Color values

HEX#5C36CA
RGBrgb(92, 54, 202)
HSLhsl(255, 58%, 50%)
HSVhsv(255, 73%, 79%)
CMYKcmyk(54.5%, 73.3%, 0%, 20.8%)
CIE-LABlab(36.32, 52.77, -70.76)
CIE-LCHlch(36.32, 88.28, 306.72°)
OKLaboklab(47.45% 0.0621 -0.2036)
OKLCHoklch(47.45% 0.213 287)
XYZxyz(16.3903, 9.1770, 56.7734)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36CA #A4CA36
analogous
#365ACA #5C36CA #A636CA
triadic
#5C36CA #CA5C36 #36CA5C
tetradic
#5C36CA #CA365A #A4CA36 #36CAA6
square
#5C36CA #CA365A #A4CA36 #36CAA6
split-complementary
#5C36CA #CAA636 #5ACA36
monochromatic
#301C6A #46299A #5C36CA #8366D7 #AB97E4

Accessibility & contrast

On white

7.41
#5C36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5C36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36CA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36CA#FFFFFF#000000##FFFFFF
##5C36CA1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#2D5E7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c36ca;
/* rgb */ color: rgb(92, 54, 202);
/* oklch */ color: oklch(47.4% 0.213 287.0);
Tailwind
colors: {
  custom: {
    50: '#9571db',
    500: '#5c36ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c36ca;
$custom-light: #9571db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36ca",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 255.405,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.21283,
    "h": 287
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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