#40187e Color Information

In a RGB color space, hex #40187e is composed of 25.1% red, 9.4% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 81% magenta, 0% yellow and 50.6% black. It has a hue angle of 263.5 degrees, a saturation of 68% and a lightness of 29.4%. #40187e color hex could be obtained by blending #8030fc with #000000. Closest websafe color is: #330066.

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

#40187e color description : Dark violet.

#40187e Color Conversion

The hexadecimal color #40187e has RGB values of R:64, G:24, B:126 and CMYK values of C:0.49, M:0.81, Y:0, K:0.51. Its decimal value is 4200574.

Hex triplet 40187e #40187e
RGB Decimal 64, 24, 126 rgb(64,24,126)
RGB Percent 25.1, 9.4, 49.4 rgb(25.1%,9.4%,49.4%)
CMYK 49, 81, 0, 51
HSL 263.5°, 68, 29.4 hsl(263.5,68%,29.4%)
HSV (or HSB) 263.5°, 81, 49.4
Web Safe 330066 #330066
CIE-LAB 21.017, 41.786, -49.939
XYZ 6.206, 3.25, 20.038
xyY 0.21, 0.11, 3.25
CIE-LCH 21.017, 65.115, 309.921
CIE-LUV 21.017, 4.894, -58.513
Hunter-Lab 18.027, 29.908, -53.286
Binary 01000000, 00011000, 01111110

Color Schemes with #40187e

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

Alternatives to #40187e

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

Similar Colors

#40187e Preview

Text with hexadecimal color #40187e

This text has a font color of #40187e.

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

This paragraph has a background color of #40187e.

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

This element has a border color of #40187e.

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

Shades and Tints of #40187e

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, #05020b is the darkest color, while #fbf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40187e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40187e 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
  • #303030 Achromatopsia 0.005% of the population
  • #332b40 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e65 Deuteranopia 1% of men
  • #333e43 Tritanopia 0.001% of the population
Trichromacy
  • #172e77 Protanomaly 1% of men, 0.01% of women
  • #17306e Deuteranomaly 6% of men, 0.4% of women
  • #383058 Tritanomaly 0.01% of the population