#312040 Color Information

In a RGB color space, hex #312040 is composed of 19.2% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 23.4% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 271.9 degrees, a saturation of 33.3% and a lightness of 18.8%. #312040 color hex could be obtained by blending #624080 with #000000. Closest websafe color is: #333333.

    • R 19
    • G 13
    • B 25
    RGB color chart
    • C 23
    • M 50
    • Y 0
    • K 75
    CMYK color chart

#312040 color description : Very dark desaturated violet.

#312040 Color Conversion

The hexadecimal color #312040 has RGB values of R:49, G:32, B:64 and CMYK values of C:0.23, M:0.5, Y:0, K:0.75. Its decimal value is 3219520.

Hex triplet 312040 #312040
RGB Decimal 49, 32, 64 rgb(49,32,64)
RGB Percent 19.2, 12.5, 25.1 rgb(19.2%,12.5%,25.1%)
CMYK 23, 50, 0, 75
HSL 271.9°, 33.3, 18.8 hsl(271.9,33.3%,18.8%)
HSV (or HSB) 271.9°, 50, 25.1
Web Safe 333333 #333333
CIE-LAB 15.779, 15.739, -17.323
XYZ 2.708, 2.056, 5.104
xyY 0.274, 0.208, 2.056
CIE-LCH 15.779, 23.405, 312.258
CIE-LUV 15.779, 4.896, -18.384
Hunter-Lab 14.339, 8.621, -11.068
Binary 00110001, 00100000, 01000000

Color Schemes with #312040

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

Alternatives to #312040

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

Similar Colors

#312040 Preview

Text with hexadecimal color #312040

This text has a font color of #312040.

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

This paragraph has a background color of #312040.

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

This element has a border color of #312040.

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

Shades and Tints of #312040

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, #09060c is the darkest color, while #fefefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #312040

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #312040 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
  • #292929 Achromatopsia 0.005% of the population
  • #2b272e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #26314e Protanopia 1% of men
  • #283247 Deuteranopia 1% of men
  • #373034 Tritanopia 0.001% of the population
Trichromacy
  • #2a2b49 Protanomaly 1% of men, 0.01% of women
  • #2b2b44 Deuteranomaly 6% of men, 0.4% of women
  • #352a38 Tritanomaly 0.01% of the population