#331f7d Color Information

In a RGB color space, hex #331f7d is composed of 20% red, 12.2% green and 49% blue. Whereas in a CMYK color space, it is composed of 59.2% cyan, 75.2% magenta, 0% yellow and 51% black. It has a hue angle of 252.8 degrees, a saturation of 60.3% and a lightness of 30.6%. #331f7d color hex could be obtained by blending #663efa with #000000. Closest websafe color is: #333366.

    • R 20
    • G 12
    • B 49
    RGB color chart
    • C 59
    • M 75
    • Y 0
    • K 51
    CMYK color chart

#331f7d color description : Dark blue.

#331f7d Color Conversion

The hexadecimal color #331f7d has RGB values of R:51, G:31, B:125 and CMYK values of C:0.59, M:0.75, Y:0, K:0.51. Its decimal value is 3350397.

Hex triplet 331f7d #331f7d
RGB Decimal 51, 31, 125 rgb(51,31,125)
RGB Percent 20, 12.2, 49 rgb(20%,12.2%,49%)
CMYK 59, 75, 0, 51
HSL 252.8°, 60.3, 30.6 hsl(252.8,60.3%,30.6%)
HSV (or HSB) 252.8°, 75.2, 49
Web Safe 333366 #333366
CIE-LAB 20.69, 35.904, -49.895
XYZ 5.556, 3.164, 19.719
xyY 0.195, 0.111, 3.164
CIE-LCH 20.69, 61.471, 305.738
CIE-LUV 20.69, 0.076, -57.685
Hunter-Lab 17.788, 24.625, -53.273
Binary 00110011, 00011111, 01111101

Color Schemes with #331f7d

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

Alternatives to #331f7d

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

Similar Colors

#331f7d Preview

Text with hexadecimal color #331f7d

This text has a font color of #331f7d.

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

This paragraph has a background color of #331f7d.

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

This element has a border color of #331f7d.

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

Shades and Tints of #331f7d

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, #06040f is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331f7d

A tone is produced by adding gray to any pure hue. In this case, #4b4953 is the less saturated color, while #22019b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331f7d 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
  • #303030 Achromatopsia 0.005% of the population
  • #312d3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #1c4146 Tritanopia 0.001% of the population
Trichromacy
  • #123076 Protanomaly 1% of men, 0.01% of women
  • #12326c Deuteranomaly 6% of men, 0.4% of women
  • #24345a Tritanomaly 0.01% of the population