#5C36CD#5C36CD

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

Color values

HEX#5C36CD
RGBrgb(92, 54, 205)
HSLhsl(255, 60%, 51%)
HSVhsv(255, 74%, 80%)
CMYKcmyk(55.1%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.59, 53.62, -72.06)
CIE-LCHlch(36.59, 89.82, 306.65°)
OKLaboklab(47.72% 0.0614 -0.2074)
OKLCHoklch(47.72% 0.216 286.5)
XYZxyz(16.7489, 9.3205, 58.6623)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36CD #A7CD36
analogous
#365CCD #5C36CD #A736CD
triadic
#5C36CD #CD5C36 #36CD5C
tetradic
#5C36CD #CD365C #A7CD36 #36CDA7
square
#5C36CD #CD365C #A7CD36 #36CDA7
split-complementary
#5C36CD #CDA736 #5CCD36
monochromatic
#301B6D #45279E #5C36CD #8467D9 #AB98E5

Accessibility & contrast

On white

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

On black

2.86
#5C36CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C36CD#FFFFFF#000000##FFFFFF
##5C36CD1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#29607F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c36cd;
/* rgb */ color: rgb(92, 54, 205);
/* oklch */ color: oklch(47.7% 0.216 286.5);
Tailwind
colors: {
  custom: {
    50: '#9671dd',
    500: '#5c36cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c36cd;
$custom-light: #9671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36cd",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 255.099,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.21627,
    "h": 286.5
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#5C36CD
secondary
#C0D18E
accent
#E344BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5C36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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