#40178d Color Information

In a RGB color space, hex #40178d is composed of 25.1% red, 9% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 54.6% cyan, 83.7% magenta, 0% yellow and 44.7% black. It has a hue angle of 260.8 degrees, a saturation of 72% and a lightness of 32.2%. #40178d color hex could be obtained by blending #802eff with #00001b. Closest websafe color is: #330099.

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

#40178d color description : Dark violet.

#40178d Color Conversion

The hexadecimal color #40178d has RGB values of R:64, G:23, B:141 and CMYK values of C:0.55, M:0.84, Y:0, K:0.45. Its decimal value is 4200333.

Hex triplet 40178d #40178d
RGB Decimal 64, 23, 141 rgb(64,23,141)
RGB Percent 25.1, 9, 55.3 rgb(25.1%,9%,55.3%)
CMYK 55, 84, 0, 45
HSL 260.8°, 72, 32.2 hsl(260.8,72%,32.2%)
HSV (or HSB) 260.8°, 83.7, 55.3
Web Safe 330099 #330099
CIE-LAB 22.393, 46.342, -57.111
XYZ 7.228, 3.626, 25.517
xyY 0.199, 0.1, 3.626
CIE-LCH 22.393, 73.547, 309.057
CIE-LUV 22.393, 3.321, -67.584
Hunter-Lab 19.041, 34.432, -66.124
Binary 01000000, 00010111, 10001101

Color Schemes with #40178d

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

Alternatives to #40178d

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

Similar Colors

#40178d Preview

Text with hexadecimal color #40178d

This text has a font color of #40178d.

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

This paragraph has a background color of #40178d.

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

This element has a border color of #40178d.

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

Shades and Tints of #40178d

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

Shade Color Variation
Tint Color Variation

Tones of #40178d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40178d 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
  • #342c43 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e78 Protanopia 1% of men
  • #004169 Deuteranopia 1% of men
  • #294348 Tritanopia 0.001% of the population
Trichromacy
  • #172f80 Protanomaly 1% of men, 0.01% of women
  • #173276 Deuteranomaly 6% of men, 0.4% of women
  • #313361 Tritanomaly 0.01% of the population