⤺ color picker

#3a174c Color Hex

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

The hex color code #3a174c is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 9.02% green and 29.8% blue. In HSL notation it has 279.6° hue, 53.5% saturation and 19.4% lightness. The process color (CMYK) is combination of 23.68% cyan, 69.74% magenta, 0% yellow and 70.20% key (black). The closest short hexadecimal code of #3a174c is #314.

Color information

  • #3a174c is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 23.68%
    • Magenta: 69.74%
    • Yellow: 0%
    • Key color - black: 70.20%
  • In the HSL model coordinates are:
    • Hue: 279.6° degrees
    • Saturation: 53.5%
    • Lightness: 19.4%
  • The values in the RGB color space are:
    • Red: 58 (22.75%)
    • Green: 23 (9.02%)
    • Blue: 76 (29.8%)


C: 23.68%, M: 69.74%, Y: 0%, K: 70.20%
R: 58, G: 23, B: 76
H: 279.6°, S: 53.5%, L: 19.4%

Color harmonies

#3a174c color HTML and CSS codes

Example CSS code:

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

#3a174c text/font color

How to set font color?

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

Font color is #3a174c.

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

#3a174c background color

How to set background color?

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

Background color is #3a174c.

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