#40174c Color Information

In a RGB color space, hex #40174c is composed of 25.1% red, 9% green and 29.8% blue. Whereas in a CMYK color space, it is composed of 15.8% cyan, 69.7% magenta, 0% yellow and 70.2% black. It has a hue angle of 286.4 degrees, a saturation of 53.5% and a lightness of 19.4%. #40174c color hex could be obtained by blending #802e98 with #000000. Closest websafe color is: #330033.

    • R 25
    • G 9
    • B 30
    RGB color chart
    • C 16
    • M 70
    • Y 0
    • K 70
    CMYK color chart

#40174c color description : Very dark magenta.

#40174c Color Conversion

The hexadecimal color #40174c has RGB values of R:64, G:23, B:76 and CMYK values of C:0.16, M:0.7, Y:0, K:0.7. Its decimal value is 4200268.

Hex triplet 40174c #40174c
RGB Decimal 64, 23, 76 rgb(64,23,76)
RGB Percent 25.1, 9, 29.8 rgb(25.1%,9%,29.8%)
CMYK 16, 70, 0, 70
HSL 286.4°, 53.5, 19.4 hsl(286.4,53.5%,19.4%)
HSV (or HSB) 286.4°, 69.7, 29.8
Web Safe 330033 #330033
CIE-LAB 16.625, 29.214, -24.138
XYZ 3.725, 2.225, 7.07
xyY 0.286, 0.171, 2.225
CIE-LCH 16.625, 37.895, 320.435
CIE-LUV 16.625, 12.473, -27.002
Hunter-Lab 14.916, 18.478, -17.664
Binary 01000000, 00010111, 01001100

Color Schemes with #40174c

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

Alternatives to #40174c

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

Similar Colors

#40174c Preview

Text with hexadecimal color #40174c

This text has a font color of #40174c.

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

This paragraph has a background color of #40174c.

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

This element has a border color of #40174c.

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

Shades and Tints of #40174c

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

Shade Color Variation
Tint Color Variation

Tones of #40174c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40174c 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
  • #292929 Achromatopsia 0.005% of the population
  • #2e2530 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0d3262 Protanopia 1% of men
  • #223450 Deuteranopia 1% of men
  • #442e31 Tritanopia 0.001% of the population
Trichromacy
  • #1f285a Protanomaly 1% of men, 0.01% of women
  • #2d294e Deuteranomaly 6% of men, 0.4% of women
  • #42253b Tritanomaly 0.01% of the population