#40178f Color Information

In a RGB color space, hex #40178f is composed of 25.1% red, 9% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 55.2% cyan, 83.9% magenta, 0% yellow and 43.9% black. It has a hue angle of 260.5 degrees, a saturation of 72.3% and a lightness of 32.5%. #40178f color hex could be obtained by blending #802eff with #00001f. Closest websafe color is: #330099.

    • R 25
    • G 9
    • B 56
    RGB color chart
    • C 55
    • M 84
    • Y 0
    • K 44
    CMYK color chart

#40178f color description : Dark violet.

#40178f Color Conversion

The hexadecimal color #40178f has RGB values of R:64, G:23, B:143 and CMYK values of C:0.55, M:0.84, Y:0, K:0.44. Its decimal value is 4200335.

Hex triplet 40178f #40178f
RGB Decimal 64, 23, 143 rgb(64,23,143)
RGB Percent 25.1, 9, 56.1 rgb(25.1%,9%,56.1%)
CMYK 55, 84, 0, 44
HSL 260.5°, 72.3, 32.5 hsl(260.5,72.3%,32.5%)
HSV (or HSB) 260.5°, 83.9, 56.1
Web Safe 330099 #330099
CIE-LAB 22.604, 46.89, -58.008
XYZ 7.378, 3.686, 26.308
xyY 0.197, 0.099, 3.686
CIE-LCH 22.604, 74.59, 308.95
CIE-LUV 22.604, 3.112, -68.777
Hunter-Lab 19.198, 34.999, -67.807
Binary 01000000, 00010111, 10001111

Color Schemes with #40178f

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

Alternatives to #40178f

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

Similar Colors

#40178f Preview

Text with hexadecimal color #40178f

This text has a font color of #40178f.

<span style="color:#40178f;">Text here</span>
#40178f background color

This paragraph has a background color of #40178f.

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

This element has a border color of #40178f.

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

Shades and Tints of #40178f

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, #030108 is the darkest color, while #f9f6fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40178f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40178f 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
  • #313131 Achromatopsia 0.005% of the population
  • #342c44 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e79 Protanopia 1% of men
  • #004269 Deuteranopia 1% of men
  • #284449 Tritanopia 0.001% of the population
Trichromacy
  • #173081 Protanomaly 1% of men, 0.01% of women
  • #173277 Deuteranomaly 6% of men, 0.4% of women
  • #303462 Tritanomaly 0.01% of the population