⤺ color picker

#4b0082 Color Hex (indigo)

Hex color #4b0082, RGB(75, 0, 130) - also known as indigo - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #4b0082 is a shade of blue-magenta. In a RGB color space it is composed of 29.41% red, 0% green and 50.98% blue. In HSL notation it has 274.6° hue, 100% saturation and 25.5% lightness. The process color (CMYK) is combination of 42.31% cyan, 100% magenta, 0% yellow and 49.02% key (black). The closest short hexadecimal code of #4b0082 is #408.

Color information

  • #4b0082 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 42.31%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 49.02%
  • In the HSL model coordinates are:
    • Hue: 274.6° degrees
    • Saturation: 100%
    • Lightness: 25.5%
  • The values in the RGB color space are:
    • Red: 75 (29.41%)
    • Green: 0 (0%)
    • Blue: 130 (50.98%)


C: 42.31%, M: 100%, Y: 0%, K: 49.02%
R: 75, G: 0, B: 130
H: 274.6°, S: 100%, L: 25.5%

Color harmonies

#4b0082 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #4b0082; }
.setBackgroundColor { background-color: #4b0082; }

#4b0082 text/font color

How to set font color?

<p style="color:#4b0082">Font color is #4b0082.</p>

Font color is #4b0082.

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

#4b0082 background color

How to set background color?

<div style="background-color:#4b0082">Background color is #4b0082.</div>

Background color is #4b0082.

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