⤺ color picker
0
Reddit

#520274 Color Hex

Hex color #520274, RGB(82, 2, 116) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #520274 is a shade of blue-magenta. In a RGB color space it is composed of 32.16% red, 0.78% green and 45.49% blue. In HSL notation it has 282.1° hue, 96.6% saturation and 23.1% lightness. The process color (CMYK) is combination of 29.31% cyan, 98.28% magenta, 0% yellow and 54.51% key (black). The closest short hexadecimal code of #520274 is #507.

Color information

  • #520274 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 29.31%
    • Magenta: 98.28%
    • Yellow: 0%
    • Key color - black: 54.51%
  • In the HSL model coordinates are:
    • Hue: 282.1° degrees
    • Saturation: 96.6%
    • Lightness: 23.1%
  • The values in the RGB color space are:
    • Red: 82 (32.16%)
    • Green: 2 (0.78%)
    • Blue: 116 (45.49%)

Conversions

Hex:
#520274
CMYK:
C: 29.31%, M: 98.28%, Y: 0%, K: 54.51%
RGB:
R: 82, G: 2, B: 116
HSL:
H: 282.1°, S: 96.6%, L: 23.1%

Color harmonies

#520274 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #520274; }
.setBackgroundColor { background-color: #520274; }

#520274 text/font color

How to set font color?

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

Font color is #520274.

Compromise in colors is grey.
- Edi Rama

#520274 background color

How to set background color?

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

Background color is #520274.

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