#40047e Color Information

In a RGB color space, hex #40047e is composed of 25.1% red, 1.6% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 96.8% magenta, 0% yellow and 50.6% black. It has a hue angle of 269.5 degrees, a saturation of 93.8% and a lightness of 25.5%. #40047e color hex could be obtained by blending #8008fc with #000000. Closest websafe color is: #330066.

    • R 25
    • G 2
    • B 49
    RGB color chart
    • C 49
    • M 97
    • Y 0
    • K 51
    CMYK color chart

#40047e color description : Dark violet.

#40047e Color Conversion

The hexadecimal color #40047e has RGB values of R:64, G:4, B:126 and CMYK values of C:0.49, M:0.97, Y:0, K:0.51. Its decimal value is 4195454.

Hex triplet 40047e #40047e
RGB Decimal 64, 4, 126 rgb(64,4,126)
RGB Percent 25.1, 1.6, 49.4 rgb(25.1%,1.6%,49.4%)
CMYK 49, 97, 0, 51
HSL 269.5°, 93.8, 25.5 hsl(269.5,93.8%,25.5%)
HSV (or HSB) 269.5°, 96.8, 49.4
Web Safe 330066 #330066
CIE-LAB 18.728, 48.544, -53.707
XYZ 5.923, 2.683, 19.943
xyY 0.207, 0.094, 2.683
CIE-LCH 18.728, 72.394, 312.109
CIE-LUV 18.728, 6.25, -58.557
Hunter-Lab 16.38, 35.879, -60.72
Binary 01000000, 00000100, 01111110

Color Schemes with #40047e

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

Alternatives to #40047e

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

Similar Colors

#40047e Preview

Text with hexadecimal color #40047e

This text has a font color of #40047e.

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

This paragraph has a background color of #40047e.

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

This element has a border color of #40047e.

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

Shades and Tints of #40047e

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

Shade Color Variation
Tint Color Variation

Tones of #40047e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40047e 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
  • #242424 Achromatopsia 0.005% of the population
  • #2a1e36 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00366a Protanopia 1% of men
  • #00395c Deuteranopia 1% of men
  • #32393d Tritanopia 0.001% of the population
Trichromacy
  • #172471 Protanomaly 1% of men, 0.01% of women
  • #172668 Deuteranomaly 6% of men, 0.4% of women
  • #372655 Tritanomaly 0.01% of the population