⤺ color picker
0
Reddit

#5c31a2 Color Hex

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


The hex color code #5c31a2 is a shade of blue-magenta. In a RGB color space it is composed of 36.08% red, 19.22% green and 63.53% blue. In HSL notation it has 262.8° hue, 53.6% saturation and 41.4% lightness. The process color (CMYK) is combination of 43.21% cyan, 69.75% magenta, 0% yellow and 36.47% key (black). The closest short hexadecimal code of #5c31a2 is #53a.

Color information

  • #5c31a2 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 43.21%
    • Magenta: 69.75%
    • Yellow: 0%
    • Key color - black: 36.47%
  • In the HSL model coordinates are:
    • Hue: 262.8° degrees
    • Saturation: 53.6%
    • Lightness: 41.4%
  • The values in the RGB color space are:
    • Red: 92 (36.08%)
    • Green: 49 (19.22%)
    • Blue: 162 (63.53%)

Conversions

Hex:
#5c31a2
CMYK:
C: 43.21%, M: 69.75%, Y: 0%, K: 36.47%
RGB:
R: 92, G: 49, B: 162
HSL:
H: 262.8°, S: 53.6%, L: 41.4%

Color harmonies

#5c31a2 color HTML and CSS codes

Example CSS code:

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

#5c31a2 text/font color

How to set font color?

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

Font color is #5c31a2.

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

#5c31a2 background color

How to set background color?

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

Background color is #5c31a2.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage