#331f47 Color Information

In a RGB color space, hex #331f47 is composed of 20% red, 12.2% green and 27.8% blue. Whereas in a CMYK color space, it is composed of 28.2% cyan, 56.3% magenta, 0% yellow and 72.2% black. It has a hue angle of 270 degrees, a saturation of 39.2% and a lightness of 20%. #331f47 color hex could be obtained by blending #663e8e with #000000. Closest websafe color is: #333333.

    • R 20
    • G 12
    • B 28
    RGB color chart
    • C 28
    • M 56
    • Y 0
    • K 72
    CMYK color chart

#331f47 color description : Very dark desaturated violet.

#331f47 Color Conversion

The hexadecimal color #331f47 has RGB values of R:51, G:31, B:71 and CMYK values of C:0.28, M:0.56, Y:0, K:0.72. Its decimal value is 3350343.

Hex triplet 331f47 #331f47
RGB Decimal 51, 31, 71 rgb(51,31,71)
RGB Percent 20, 12.2, 27.8 rgb(20%,12.2%,27.8%)
CMYK 28, 56, 0, 72
HSL 270°, 39.2, 20 hsl(270,39.2%,20%)
HSV (or HSB) 270°, 56.3, 27.8
Web Safe 333333 #333333
CIE-LAB 16.199, 19.091, -21.494
XYZ 2.992, 2.139, 6.216
xyY 0.264, 0.188, 2.139
CIE-LCH 16.199, 28.749, 311.611
CIE-LUV 16.199, 5.258, -23.172
Hunter-Lab 14.624, 10.931, -14.964
Binary 00110011, 00011111, 01000111

Color Schemes with #331f47

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

Alternatives to #331f47

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

Similar Colors

#331f47 Preview

Text with hexadecimal color #331f47

This text has a font color of #331f47.

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

This paragraph has a background color of #331f47.

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

This element has a border color of #331f47.

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

Shades and Tints of #331f47

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, #020103 is the darkest color, while #f7f4fa is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331f47

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331f47 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.

  • #2a2a2a Achromatopsia 0.005% of the population
  • #2c2830 Atypical Achromatopsia 0.001% of the population
  • #203256 Protanopia 1% of men
  • #23334d Deuteranopia 1% of men
  • #373135 Tritanopia 0.001% of the population
  • #272b50 Protanomaly 1% of men, 0.01% of women
  • #292b4b Deuteranomaly 6% of men, 0.4% of women
  • #362a3b Tritanomaly 0.01% of the population