⤺ color picker
0
Reddit

#3a1540 Color Hex

Hex color #3a1540, RGB(58, 21, 64) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #3a1540 is a shade of magenta. In a RGB color space it is composed of 22.75% red, 8.24% green and 25.1% blue. In HSL notation it has 291.6° hue, 50.6% saturation and 16.7% lightness. The process color (CMYK) is combination of 9.38% cyan, 67.19% magenta, 0% yellow and 74.90% key (black). The closest short hexadecimal code of #3a1540 is #314.

Color information

  • #3a1540 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 9.38%
    • Magenta: 67.19%
    • Yellow: 0%
    • Key color - black: 74.90%
  • In the HSL model coordinates are:
    • Hue: 291.6° degrees
    • Saturation: 50.6%
    • Lightness: 16.7%
  • The values in the RGB color space are:
    • Red: 58 (22.75%)
    • Green: 21 (8.24%)
    • Blue: 64 (25.1%)

Conversions

Hex:
#3a1540
CMYK:
C: 9.38%, M: 67.19%, Y: 0%, K: 74.90%
RGB:
R: 58, G: 21, B: 64
HSL:
H: 291.6°, S: 50.6%, L: 16.7%

Color harmonies

#3a1540 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #3a1540; }
.setBackgroundColor { background-color: #3a1540; }

#3a1540 text/font color

How to set font color?

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

Font color is #3a1540.

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

#3a1540 background color

How to set background color?

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

Background color is #3a1540.

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