⤺ color picker

#5f00a5 Color Hex

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

The hex color code #5f00a5 is a shade of blue-magenta. In a RGB color space it is composed of 37.25% red, 0% green and 64.71% blue. In HSL notation it has 274.5° hue, 100% saturation and 32.4% lightness. The process color (CMYK) is combination of 42.42% cyan, 100% magenta, 0% yellow and 35.29% key (black). The closest short hexadecimal code of #5f00a5 is #50a.

Color information

  • #5f00a5 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 42.42%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 35.29%
  • In the HSL model coordinates are:
    • Hue: 274.5° degrees
    • Saturation: 100%
    • Lightness: 32.4%
  • The values in the RGB color space are:
    • Red: 95 (37.25%)
    • Green: 0 (0%)
    • Blue: 165 (64.71%)


C: 42.42%, M: 100%, Y: 0%, K: 35.29%
R: 95, G: 0, B: 165
H: 274.5°, S: 100%, L: 32.4%

Color harmonies

#5f00a5 color HTML and CSS codes

Example CSS code:

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

#5f00a5 text/font color

How to set font color?

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

Font color is #5f00a5.

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

#5f00a5 background color

How to set background color?

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

Background color is #5f00a5.

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