#40186b Color Information

In a RGB color space, hex #40186b is composed of 25.1% red, 9.4% green and 42% blue. Whereas in a CMYK color space, it is composed of 40.2% cyan, 77.6% magenta, 0% yellow and 58% black. It has a hue angle of 268.9 degrees, a saturation of 63.4% and a lightness of 25.7%. #40186b color hex could be obtained by blending #8030d6 with #000000. Closest websafe color is: #330066.

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

#40186b color description : Very dark violet.

#40186b Color Conversion

The hexadecimal color #40186b has RGB values of R:64, G:24, B:107 and CMYK values of C:0.4, M:0.78, Y:0, K:0.58. Its decimal value is 4200555.

Hex triplet 40186b #40186b
RGB Decimal 64, 24, 107 rgb(64,24,107)
RGB Percent 25.1, 9.4, 42 rgb(25.1%,9.4%,42%)
CMYK 40, 78, 0, 58
HSL 268.9°, 63.4, 25.7 hsl(268.9,63.4%,25.7%)
HSV (or HSB) 268.9°, 77.6, 42
Web Safe 330066 #330066
CIE-LAB 19.245, 36.602, -40.614
XYZ 5.094, 2.805, 14.182
xyY 0.231, 0.127, 2.805
CIE-LCH 19.245, 54.674, 312.026
CIE-LUV 19.245, 7.331, -46.773
Hunter-Lab 16.748, 24.989, -38.484
Binary 01000000, 00011000, 01101011

Color Schemes with #40186b

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

Alternatives to #40186b

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

Similar Colors

#40186b Preview

Text with hexadecimal color #40186b

This text has a font color of #40186b.

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

This paragraph has a background color of #40186b.

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

This element has a border color of #40186b.

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

Shades and Tints of #40186b

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

Shade Color Variation
Tint Color Variation

Tones of #40186b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40186b 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #312939 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376c 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