#40315b Color Information

In a RGB color space, hex #40315b is composed of 25.1% red, 19.2% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 46.2% magenta, 0% yellow and 64.3% black. It has a hue angle of 261.4 degrees, a saturation of 30% and a lightness of 27.5%. #40315b color hex could be obtained by blending #8062b6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 19
    • B 36
    RGB color chart
    • C 30
    • M 46
    • Y 0
    • K 64
    CMYK color chart

#40315b color description : Very dark desaturated violet.

#40315b Color Conversion

The hexadecimal color #40315b has RGB values of R:64, G:49, B:91 and CMYK values of C:0.3, M:0.46, Y:0, K:0.64. Its decimal value is 4206939.

Hex triplet 40315b #40315b
RGB Decimal 64, 49, 91 rgb(64,49,91)
RGB Percent 25.1, 19.2, 35.7 rgb(25.1%,19.2%,35.7%)
CMYK 30, 46, 0, 64
HSL 261.4°, 30, 27.5 hsl(261.4,30%,27.5%)
HSV (or HSB) 261.4°, 46.2, 35.7
Web Safe 333366 #333366
CIE-LAB 23.81, 17.003, -22.81
XYZ 5.101, 4.042, 10.408
xyY 0.261, 0.207, 4.042
CIE-LCH 23.81, 28.45, 306.701
CIE-LUV 23.81, 3.898, -28.828
Hunter-Lab 20.105, 10.104, -16.622
Binary 01000000, 00110001, 01011011

Color Schemes with #40315b

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

Alternatives to #40315b

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

Similar Colors

#40315b Preview

Text with hexadecimal color #40315b

This text has a font color of #40315b.

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

This paragraph has a background color of #40315b.

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

This element has a border color of #40315b.

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

Shades and Tints of #40315b

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 #40315b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40315b 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b3841 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #324168 Protanopia 1% of men
  • #334261 Deuteranopia 1% of men
  • #434247 Tritanopia 0.001% of the population
Trichromacy
  • #373b63 Protanomaly 1% of men, 0.01% of women
  • #383c5e Deuteranomaly 6% of men, 0.4% of women
  • #423c4e Tritanomaly 0.01% of the population