⤺ color picker

#5c1766 Color Hex

Hex color #5c1766, RGB(92, 23, 102) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #5c1766 is a shade of magenta. In a RGB color space it is composed of 36.08% red, 9.02% green and 40% blue. In HSL notation it has 292.4° hue, 63.2% saturation and 24.5% lightness. The process color (CMYK) is combination of 9.80% cyan, 77.45% magenta, 0% yellow and 60% key (black). The closest short hexadecimal code of #5c1766 is #516.

Color information

  • #5c1766 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 9.80%
    • Magenta: 77.45%
    • Yellow: 0%
    • Key color - black: 60%
  • In the HSL model coordinates are:
    • Hue: 292.4° degrees
    • Saturation: 63.2%
    • Lightness: 24.5%
  • The values in the RGB color space are:
    • Red: 92 (36.08%)
    • Green: 23 (9.02%)
    • Blue: 102 (40%)


C: 9.80%, M: 77.45%, Y: 0%, K: 60%
R: 92, G: 23, B: 102
H: 292.4°, S: 63.2%, L: 24.5%

Color harmonies

#5c1766 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5c1766; }
.setBackgroundColor { background-color: #5c1766; }

#5c1766 text/font color

How to set font color?

<p style="color:#5c1766">Font color is #5c1766.</p>

Font color is #5c1766.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#5c1766 background color

How to set background color?

<div style="background-color:#5c1766">Background color is #5c1766.</div>

Background color is #5c1766.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore