#331f78 Color Information

In a RGB color space, hex #331f78 is composed of 20% red, 12.2% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 57.5% cyan, 74.2% magenta, 0% yellow and 52.9% black. It has a hue angle of 253.5 degrees, a saturation of 58.9% and a lightness of 29.6%. #331f78 color hex could be obtained by blending #663ef0 with #000000. Closest websafe color is: #333366.

    • R 20
    • G 12
    • B 47
    RGB color chart
    • C 58
    • M 74
    • Y 0
    • K 53
    CMYK color chart

#331f78 color description : Dark blue.

#331f78 Color Conversion

The hexadecimal color #331f78 has RGB values of R:51, G:31, B:120 and CMYK values of C:0.58, M:0.74, Y:0, K:0.53. Its decimal value is 3350392.

Hex triplet 331f78 #331f78
RGB Decimal 51, 31, 120 rgb(51,31,120)
RGB Percent 20, 12.2, 47.1 rgb(20%,12.2%,47.1%)
CMYK 58, 74, 0, 53
HSL 253.5°, 58.9, 29.6 hsl(253.5,58.9%,29.6%)
HSV (or HSB) 253.5°, 74.2, 47.1
Web Safe 333366 #333366
CIE-LAB 20.202, 34.312, -47.508
XYZ 5.245, 3.04, 18.079
xyY 0.199, 0.115, 3.04
CIE-LCH 20.202, 58.603, 305.838
CIE-LUV 20.202, 0.477, -54.621
Hunter-Lab 17.435, 23.186, -49.275
Binary 00110011, 00011111, 01111000

Color Schemes with #331f78

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #331f78

Below, you can see some colors close to #331f78. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#331f78 Preview

Text with hexadecimal color #331f78

This text has a font color of #331f78.

<span style="color:#331f78;">Text here</span>
#331f78 background color

This paragraph has a background color of #331f78.

<p style="background-color:#331f78;">Content here</p>
#331f78 border color

This element has a border color of #331f78.

<div style="border:1px solid #331f78;">Content here</div>
CSS codes
.text {color:#331f78;}
.background {background-color:#331f78;}
.border {border:1px solid #331f78;}

Shades and Tints of #331f78

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #05030b is the darkest color, while #fbfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331f78

A tone is produced by adding gray to any pure hue. In this case, #49484f is the less saturated color, while #230295 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331f78 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #2f2f2f Achromatopsia 0.005% of the population
  • #302c3e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003c62 Deuteranopia 1% of men
  • #213f44 Tritanopia 0.001% of the population
Trichromacy
  • #123073 Protanomaly 1% of men, 0.01% of women
  • #12326a Deuteranomaly 6% of men, 0.4% of women
  • #273357 Tritanomaly 0.01% of the population