⤺ color picker

#3a2168 Color Hex

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

The hex color code #3a2168 is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 12.94% green and 40.78% blue. In HSL notation it has 261.1° hue, 51.8% saturation and 26.9% lightness. The process color (CMYK) is combination of 44.23% cyan, 68.27% magenta, 0% yellow and 59.22% key (black). The closest short hexadecimal code of #3a2168 is #326.

Color information

  • #3a2168 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 44.23%
    • Magenta: 68.27%
    • Yellow: 0%
    • Key color - black: 59.22%
  • In the HSL model coordinates are:
    • Hue: 261.1° degrees
    • Saturation: 51.8%
    • Lightness: 26.9%
  • The values in the RGB color space are:
    • Red: 58 (22.75%)
    • Green: 33 (12.94%)
    • Blue: 104 (40.78%)


C: 44.23%, M: 68.27%, Y: 0%, K: 59.22%
R: 58, G: 33, B: 104
H: 261.1°, S: 51.8%, L: 26.9%

Color harmonies

#3a2168 color HTML and CSS codes

Example CSS code:

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

#3a2168 text/font color

How to set font color?

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

Font color is #3a2168.

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

#3a2168 background color

How to set background color?

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

Background color is #3a2168.

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