#40304e Color Information

In a RGB color space, hex #40304e is composed of 25.1% red, 18.8% green and 30.6% blue. Whereas in a CMYK color space, it is composed of 17.9% cyan, 38.5% magenta, 0% yellow and 69.4% black. It has a hue angle of 272 degrees, a saturation of 23.8% and a lightness of 24.7%. #40304e color hex could be obtained by blending #80609c with #000000. Closest websafe color is: #333366.

    • R 25
    • G 19
    • B 31
    RGB color chart
    • C 18
    • M 38
    • Y 0
    • K 69
    CMYK color chart

#40304e color description : Very dark desaturated violet.

#40304e Color Conversion

The hexadecimal color #40304e has RGB values of R:64, G:48, B:78 and CMYK values of C:0.18, M:0.38, Y:0, K:0.69. Its decimal value is 4206670.

Hex triplet 40304e #40304e
RGB Decimal 64, 48, 78 rgb(64,48,78)
RGB Percent 25.1, 18.8, 30.6 rgb(25.1%,18.8%,30.6%)
CMYK 18, 38, 0, 69
HSL 272°, 23.8, 24.7 hsl(272,23.8%,24.7%)
HSV (or HSB) 272°, 38.5, 30.6
Web Safe 333366 #333366
CIE-LAB 22.841, 14.081, -15.712
XYZ 4.546, 3.754, 7.692
xyY 0.284, 0.235, 3.754
CIE-LCH 22.841, 21.099, 311.867
CIE-LUV 22.841, 5.588, -19.539
Hunter-Lab 19.375, 7.977, -9.977
Binary 01000000, 00110000, 01001110

Color Schemes with #40304e

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

Alternatives to #40304e

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

Similar Colors

#40304e Preview

Text with hexadecimal color #40304e

This text has a font color of #40304e.

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

This paragraph has a background color of #40304e.

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

This element has a border color of #40304e.

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

Shades and Tints of #40304e

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

Shade Color Variation
Tint Color Variation

Tones of #40304e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40304e 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
  • #383838 Achromatopsia 0.005% of the population
  • #3a363c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #37405a Protanopia 1% of men
  • #3a4055 Deuteranopia 1% of men
  • #463f43 Tritanopia 0.001% of the population
Trichromacy
  • #3a3a56 Protanomaly 1% of men, 0.01% of women
  • #3c3a52 Deuteranomaly 6% of men, 0.4% of women
  • #433947 Tritanomaly 0.01% of the population