#40306b Color Information

In a RGB color space, hex #40306b is composed of 25.1% red, 18.8% green and 42% blue. Whereas in a CMYK color space, it is composed of 40.2% cyan, 55.1% magenta, 0% yellow and 58% black. It has a hue angle of 256.3 degrees, a saturation of 38.1% and a lightness of 30.4%. #40306b color hex could be obtained by blending #8060d6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 19
    • B 42
    RGB color chart
    • C 40
    • M 55
    • Y 0
    • K 58
    CMYK color chart

#40306b color description : Very dark desaturated violet.

#40306b Color Conversion

The hexadecimal color #40306b has RGB values of R:64, G:48, B:107 and CMYK values of C:0.4, M:0.55, Y:0, K:0.58. Its decimal value is 4206699.

Hex triplet 40306b #40306b
RGB Decimal 64, 48, 107 rgb(64,48,107)
RGB Percent 25.1, 18.8, 42 rgb(25.1%,18.8%,42%)
CMYK 40, 55, 0, 58
HSL 256.3°, 38.1, 30.4 hsl(256.3,38.1%,30.4%)
HSV (or HSB) 256.3°, 55.1, 42
Web Safe 333366 #333366
CIE-LAB 24.53, 22.429, -32.078
XYZ 5.825, 4.265, 14.426
xyY 0.238, 0.174, 4.265
CIE-LCH 24.53, 39.142, 304.961
CIE-LUV 24.53, 2.613, -41.093
Hunter-Lab 20.653, 14.2, -26.956
Binary 01000000, 00110000, 01101011

Color Schemes with #40306b

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

Alternatives to #40306b

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

Similar Colors

#40306b Preview

Text with hexadecimal color #40306b

This text has a font color of #40306b.

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

This paragraph has a background color of #40306b.

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

This element has a border color of #40306b.

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

Shades and Tints of #40306b

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

Shade Color Variation
Tint Color Variation

Tones of #40306b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40306b 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #3d3a45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #234279 Protanopia 1% of men
  • #22456e Deuteranopia 1% of men
  • #3e454a Tritanopia 0.001% of the population
Trichromacy
  • #2d3b74 Protanomaly 1% of men, 0.01% of women
  • #2c3d6d Deuteranomaly 6% of men, 0.4% of women
  • #3f3d56 Tritanomaly 0.01% of the population