⤺ color picker

#511c5a Color Hex

Hex color #511c5a, RGB(81, 28, 90) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #511c5a is a shade of magenta. In a RGB color space it is composed of 31.76% red, 10.98% green and 35.29% blue. In HSL notation it has 291.3° hue, 52.5% saturation and 23.1% lightness. The process color (CMYK) is combination of 10% cyan, 68.89% magenta, 0% yellow and 64.71% key (black). The closest short hexadecimal code of #511c5a is #515.

Color information

  • #511c5a is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 10%
    • Magenta: 68.89%
    • Yellow: 0%
    • Key color - black: 64.71%
  • In the HSL model coordinates are:
    • Hue: 291.3° degrees
    • Saturation: 52.5%
    • Lightness: 23.1%
  • The values in the RGB color space are:
    • Red: 81 (31.76%)
    • Green: 28 (10.98%)
    • Blue: 90 (35.29%)


C: 10%, M: 68.89%, Y: 0%, K: 64.71%
R: 81, G: 28, B: 90
H: 291.3°, S: 52.5%, L: 23.1%

Color harmonies

#511c5a color HTML and CSS codes

Example CSS code:

.setFontColor { color: #511c5a; }
.setBackgroundColor { background-color: #511c5a; }

#511c5a text/font color

How to set font color?

<p style="color:#511c5a">Font color is #511c5a.</p>

Font color is #511c5a.

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

#511c5a background color

How to set background color?

<div style="background-color:#511c5a">Background color is #511c5a.</div>

Background color is #511c5a.

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