⤺ color picker
0
Reddit

#3a0074 Color Hex

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


The hex color code #3a0074 is a shade of blue-magenta. In a RGB color space it is composed of 22.75% red, 0% green and 45.49% blue. In HSL notation it has 270° hue, 100% saturation and 22.7% lightness. The process color (CMYK) is combination of 50% cyan, 100% magenta, 0% yellow and 54.51% key (black). The closest short hexadecimal code of #3a0074 is #307.

Color information

  • #3a0074 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 54.51%
  • In the HSL model coordinates are:
    • Hue: 270° degrees
    • Saturation: 100%
    • Lightness: 22.7%
  • The values in the RGB color space are:
    • Red: 58 (22.75%)
    • Green: 0 (0%)
    • Blue: 116 (45.49%)

Conversions

Hex:
#3a0074
CMYK:
C: 50%, M: 100%, Y: 0%, K: 54.51%
RGB:
R: 58, G: 0, B: 116
HSL:
H: 270°, S: 100%, L: 22.7%

Color harmonies

#3a0074 color HTML and CSS codes

Example CSS code:

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

#3a0074 text/font color

How to set font color?

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

Font color is #3a0074.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#3a0074 background color

How to set background color?

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

Background color is #3a0074.

Compromise in colors is grey.
- Edi Rama