#40186c Color Information

In a RGB color space, hex #40186c is composed of 25.1% red, 9.4% green and 42.4% blue. Whereas in a CMYK color space, it is composed of 40.7% cyan, 77.8% magenta, 0% yellow and 57.6% black. It has a hue angle of 268.6 degrees, a saturation of 63.6% and a lightness of 25.9%. #40186c color hex could be obtained by blending #8030d8 with #000000. Closest websafe color is: #330066.

    • R 25
    • G 9
    • B 42
    RGB color chart
    • C 41
    • M 78
    • Y 0
    • K 58
    CMYK color chart

#40186c color description : Very dark violet.

#40186c Color Conversion

The hexadecimal color #40186c has RGB values of R:64, G:24, B:108 and CMYK values of C:0.41, M:0.78, Y:0, K:0.58. Its decimal value is 4200556.

Hex triplet 40186c #40186c
RGB Decimal 64, 24, 108 rgb(64,24,108)
RGB Percent 25.1, 9.4, 42.4 rgb(25.1%,9.4%,42.4%)
CMYK 41, 78, 0, 58
HSL 268.6°, 63.6, 25.9 hsl(268.6,63.6%,25.9%)
HSV (or HSB) 268.6°, 77.8, 42.4
Web Safe 330066 #330066
CIE-LAB 19.333, 36.872, -41.122
XYZ 5.147, 2.826, 14.461
xyY 0.229, 0.126, 2.826
CIE-LCH 19.333, 55.231, 311.881
CIE-LUV 19.333, 7.192, -47.4
Hunter-Lab 16.811, 25.237, -39.235
Binary 01000000, 00011000, 01101100

Color Schemes with #40186c

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

Alternatives to #40186c

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

Similar Colors

#40186c Preview

Text with hexadecimal color #40186c

This text has a font color of #40186c.

<span style="color:#40186c;">Text here</span>
#40186c background color

This paragraph has a background color of #40186c.

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

This element has a border color of #40186c.

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

Shades and Tints of #40186c

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

Shade Color Variation
Tint Color Variation

Tones of #40186c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40186c 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #322a3a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386d Protanopia 1% of men
  • #003a60 Deuteranopia 1% of men
  • #3b383c Tritanopia 0.001% of the population
Trichromacy
  • #172c6c Protanomaly 1% of men, 0.01% of women
  • #172e64 Deuteranomaly 6% of men, 0.4% of women
  • #3d2c4d Tritanomaly 0.01% of the population