#312540 Color Information

In a RGB color space, hex #312540 is composed of 19.2% red, 14.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 23.4% cyan, 42.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 266.7 degrees, a saturation of 26.7% and a lightness of 19.8%. #312540 color hex could be obtained by blending #624a80 with #000000. Closest websafe color is: #333333.

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

#312540 color description : Very dark desaturated violet.

#312540 Color Conversion

The hexadecimal color #312540 has RGB values of R:49, G:37, B:64 and CMYK values of C:0.23, M:0.42, Y:0, K:0.75. Its decimal value is 3220800.

Hex triplet 312540 #312540
RGB Decimal 49, 37, 64 rgb(49,37,64)
RGB Percent 19.2, 14.5, 25.1 rgb(19.2%,14.5%,25.1%)
CMYK 23, 42, 0, 75
HSL 266.7°, 26.7, 19.8 hsl(266.7,26.7%,19.8%)
HSV (or HSB) 266.7°, 42.2, 25.1
Web Safe 333333 #333333
CIE-LAB 17.209, 12.258, -15.086
XYZ 2.853, 2.346, 5.153
xyY 0.276, 0.227, 2.346
CIE-LCH 17.209, 19.438, 309.096
CIE-LUV 17.209, 3.463, -16.483
Hunter-Lab 15.318, 6.446, -9.223
Binary 00110001, 00100101, 01000000

Color Schemes with #312540

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

Alternatives to #312540

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

Similar Colors

#312540 Preview

Text with hexadecimal color #312540

This text has a font color of #312540.

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

This paragraph has a background color of #312540.

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

This element has a border color of #312540.

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

Shades and Tints of #312540

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

Shade Color Variation
Tint Color Variation

Tones of #312540

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #312540 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #2d2b30 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2c344c Protanopia 1% of men
  • #2e3448 Deuteranopia 1% of men
  • #383438 Tritanopia 0.001% of the population
Trichromacy
  • #2e2e48 Protanomaly 1% of men, 0.01% of women
  • #2f2f45 Deuteranomaly 6% of men, 0.4% of women
  • #352e3a Tritanomaly 0.01% of the population