#40173b Color Information

In a RGB color space, hex #40173b is composed of 25.1% red, 9% green and 23.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 64.1% magenta, 7.8% yellow and 74.9% black. It has a hue angle of 307.3 degrees, a saturation of 47.1% and a lightness of 17.1%. #40173b color hex could be obtained by blending #802e76 with #000000. Closest websafe color is: #330033.

    • R 25
    • G 9
    • B 23
    RGB color chart
    • C 0
    • M 64
    • Y 8
    • K 75
    CMYK color chart

#40173b color description : Very dark magenta.

#40173b Color Conversion

The hexadecimal color #40173b has RGB values of R:64, G:23, B:59 and CMYK values of C:0, M:0.64, Y:0.08, K:0.75. Its decimal value is 4200251.

Hex triplet 40173b #40173b
RGB Decimal 64, 23, 59 rgb(64,23,59)
RGB Percent 25.1, 9, 23.1 rgb(25.1%,9%,23.1%)
CMYK 0, 64, 8, 75
HSL 307.3°, 47.1, 17.1 hsl(307.3,47.1%,17.1%)
HSV (or HSB) 307.3°, 64.1, 25.1
Web Safe 330033 #330033
CIE-LAB 15.585, 25.477, -13.956
XYZ 3.21, 2.019, 4.358
xyY 0.335, 0.211, 2.019
CIE-LCH 15.585, 29.049, 331.287
CIE-LUV 15.585, 15.786, -15.836
Hunter-Lab 14.208, 15.465, -8.24
Binary 01000000, 00010111, 00111011

Color Schemes with #40173b

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

Alternatives to #40173b

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

Similar Colors

#40173b Preview

Text with hexadecimal color #40173b

This text has a font color of #40173b.

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

This paragraph has a background color of #40173b.

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

This element has a border color of #40173b.

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

Shades and Tints of #40173b

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

Shade Color Variation
Tint Color Variation

Tones of #40173b

A tone is produced by adding gray to any pure hue. In this case, #2c2b2c is the less saturated color, while #54034a is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40173b 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
  • #272727 Achromatopsia 0.005% of the population
  • #2c242b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #24314f Protanopia 1% of men
  • #2d3141 Deuteranopia 1% of men
  • #46292c Tritanopia 0.001% of the population
Trichromacy
  • #2e2747 Protanomaly 1% of men, 0.01% of women
  • #34273e Deuteranomaly 6% of men, 0.4% of women
  • #442231 Tritanomaly 0.01% of the population