#5C36CC#5C36CC

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

Color values

HEX#5C36CC
RGBrgb(92, 54, 204)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 74%, 80%)
CMYKcmyk(54.9%, 73.5%, 0%, 20%)
CIE-LABlab(36.50, 53.34, -71.63)
CIE-LCHlch(36.50, 89.31, 306.67°)
OKLaboklab(47.63% 0.0616 -0.2061)
OKLCHoklch(47.63% 0.215 286.6)
XYZxyz(16.6286, 9.2724, 58.0286)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36CC #A6CC36
analogous
#365BCC #5C36CC #A736CC
triadic
#5C36CC #CC5C36 #36CC5C
tetradic
#5C36CC #CC365B #A6CC36 #36CCA7
square
#5C36CC #CC365B #A6CC36 #36CCA7
split-complementary
#5C36CC #CCA736 #5BCC36
monochromatic
#301B6C #46289D #5C36CC #8467D8 #AB98E5

Accessibility & contrast

On white

7.36
#5C36CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C36CC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36CC#FFFFFF#000000##FFFFFF
##5C36CC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c36cc;
/* rgb */ color: rgb(92, 54, 204);
/* oklch */ color: oklch(47.6% 0.215 286.6);
Tailwind
colors: {
  custom: {
    50: '#9671dd',
    500: '#5c36cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c36cc;
$custom-light: #9671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36cc",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 255.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.21512,
    "h": 286.6
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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