⤺ color picker

#3a1471 Color Hex

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

The hex color code #3a1471 is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 7.84% green and 44.31% blue. In HSL notation it has 264.5° hue, 69.9% saturation and 26.1% lightness. The process color (CMYK) is combination of 48.67% cyan, 82.30% magenta, 0% yellow and 55.69% key (black). The closest short hexadecimal code of #3a1471 is #317.

Color information

  • #3a1471 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 48.67%
    • Magenta: 82.30%
    • Yellow: 0%
    • Key color - black: 55.69%
  • In the HSL model coordinates are:
    • Hue: 264.5° degrees
    • Saturation: 69.9%
    • Lightness: 26.1%
  • The values in the RGB color space are:
    • Red: 58 (22.75%)
    • Green: 20 (7.84%)
    • Blue: 113 (44.31%)


C: 48.67%, M: 82.30%, Y: 0%, K: 55.69%
R: 58, G: 20, B: 113
H: 264.5°, S: 69.9%, L: 26.1%

Color harmonies

#3a1471 color HTML and CSS codes

Example CSS code:

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

#3a1471 text/font color

How to set font color?

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

Font color is #3a1471.

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

#3a1471 background color

How to set background color?

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

Background color is #3a1471.

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