#331f52 Color Information

In a RGB color space, hex #331f52 is composed of 20% red, 12.2% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 37.8% cyan, 62.2% magenta, 0% yellow and 67.8% black. It has a hue angle of 263.5 degrees, a saturation of 45.1% and a lightness of 22.2%. #331f52 color hex could be obtained by blending #663ea4 with #000000. Closest websafe color is: #333366.

    • R 20
    • G 12
    • B 32
    RGB color chart
    • C 38
    • M 62
    • Y 0
    • K 68
    CMYK color chart

#331f52 color description : Very dark violet.

#331f52 Color Conversion

The hexadecimal color #331f52 has RGB values of R:51, G:31, B:82 and CMYK values of C:0.38, M:0.62, Y:0, K:0.68. Its decimal value is 3350354.

Hex triplet 331f52 #331f52
RGB Decimal 51, 31, 82 rgb(51,31,82)
RGB Percent 20, 12.2, 32.2 rgb(20%,12.2%,32.2%)
CMYK 38, 62, 0, 68
HSL 263.5°, 45.1, 22.2 hsl(263.5,45.1%,22.2%)
HSV (or HSB) 263.5°, 62.2, 32.2
Web Safe 333366 #333366
CIE-LAB 16.955, 22.341, -27.8
XYZ 3.378, 2.293, 8.247
xyY 0.243, 0.165, 2.293
CIE-LCH 16.955, 35.665, 308.787
CIE-LUV 16.955, 4.035, -30.465
Hunter-Lab 15.143, 13.32, -21.69
Binary 00110011, 00011111, 01010010

Color Schemes with #331f52

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

Alternatives to #331f52

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

Similar Colors

#331f52 Preview

Text with hexadecimal color #331f52

This text has a font color of #331f52.

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

This paragraph has a background color of #331f52.

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

This element has a border color of #331f52.

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

Shades and Tints of #331f52

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, #07040b is the darkest color, while #fcfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331f52

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331f52 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #2d2933 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #103362 Protanopia 1% of men
  • #163557 Deuteranopia 1% of men
  • #343438 Tritanopia 0.001% of the population
Trichromacy
  • #1d2b5c Protanomaly 1% of men, 0.01% of women
  • #202d55 Deuteranomaly 6% of men, 0.4% of women
  • #342c41 Tritanomaly 0.01% of the population