⤺ color picker
0
Reddit

#4a1a52 Color Hex

Hex color #4a1a52, RGB(74, 26, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #4a1a52 is a shade of magenta. In a RGB color space it is composed of 29.02% red, 10.2% green and 32.16% blue. In HSL notation it has 291.4° hue, 51.9% saturation and 21.2% lightness. The process color (CMYK) is combination of 9.76% cyan, 68.29% magenta, 0% yellow and 67.84% key (black). The closest short hexadecimal code of #4a1a52 is #415.

Color information

  • #4a1a52 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 9.76%
    • Magenta: 68.29%
    • Yellow: 0%
    • Key color - black: 67.84%
  • In the HSL model coordinates are:
    • Hue: 291.4° degrees
    • Saturation: 51.9%
    • Lightness: 21.2%
  • The values in the RGB color space are:
    • Red: 74 (29.02%)
    • Green: 26 (10.2%)
    • Blue: 82 (32.16%)

Conversions

Hex:
#4a1a52
CMYK:
C: 9.76%, M: 68.29%, Y: 0%, K: 67.84%
RGB:
R: 74, G: 26, B: 82
HSL:
H: 291.4°, S: 51.9%, L: 21.2%

Color harmonies

#4a1a52 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #4a1a52; }
.setBackgroundColor { background-color: #4a1a52; }

#4a1a52 text/font color

How to set font color?

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

Font color is #4a1a52.

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

#4a1a52 background color

How to set background color?

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

Background color is #4a1a52.

Compromise in colors is grey.
- Edi Rama