⤺ color picker

#5f2095 Color Hex

Hex color #5f2095, RGB(95, 32, 149) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #5f2095 is a shade of blue-magenta. In a RGB color space it is composed of 37.25% red, 12.55% green and 58.43% blue. In HSL notation it has 272.3° hue, 64.6% saturation and 35.5% lightness. The process color (CMYK) is combination of 36.24% cyan, 78.52% magenta, 0% yellow and 41.57% key (black). The closest short hexadecimal code of #5f2095 is #529.

Color information

  • #5f2095 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 36.24%
    • Magenta: 78.52%
    • Yellow: 0%
    • Key color - black: 41.57%
  • In the HSL model coordinates are:
    • Hue: 272.3° degrees
    • Saturation: 64.6%
    • Lightness: 35.5%
  • The values in the RGB color space are:
    • Red: 95 (37.25%)
    • Green: 32 (12.55%)
    • Blue: 149 (58.43%)


C: 36.24%, M: 78.52%, Y: 0%, K: 41.57%
R: 95, G: 32, B: 149
H: 272.3°, S: 64.6%, L: 35.5%

Color harmonies

#5f2095 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5f2095; }
.setBackgroundColor { background-color: #5f2095; }

#5f2095 text/font color

How to set font color?

<p style="color:#5f2095">Font color is #5f2095.</p>

Font color is #5f2095.

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

#5f2095 background color

How to set background color?

<div style="background-color:#5f2095">Background color is #5f2095.</div>

Background color is #5f2095.

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