#40174f Color Information

In a RGB color space, hex #40174f is composed of 25.1% red, 9% green and 31% blue. Whereas in a CMYK color space, it is composed of 19% cyan, 70.9% magenta, 0% yellow and 69% black. It has a hue angle of 283.9 degrees, a saturation of 54.9% and a lightness of 20%. #40174f color hex could be obtained by blending #802e9e with #000000. Closest websafe color is: #330066.

    • R 25
    • G 9
    • B 31
    RGB color chart
    • C 19
    • M 71
    • Y 0
    • K 69
    CMYK color chart

#40174f color description : Very dark violet.

#40174f Color Conversion

The hexadecimal color #40174f has RGB values of R:64, G:23, B:79 and CMYK values of C:0.19, M:0.71, Y:0, K:0.69. Its decimal value is 4200271.

Hex triplet 40174f #40174f
RGB Decimal 64, 23, 79 rgb(64,23,79)
RGB Percent 25.1, 9, 31 rgb(25.1%,9%,31%)
CMYK 19, 71, 0, 69
HSL 283.9°, 54.9, 20 hsl(283.9,54.9%,20%)
HSV (or HSB) 283.9°, 70.9, 31
Web Safe 330066 #330066
CIE-LAB 16.832, 29.927, -25.857
XYZ 3.832, 2.267, 7.633
xyY 0.279, 0.165, 2.267
CIE-LCH 16.832, 39.55, 319.173
CIE-LUV 16.832, 11.926, -28.965
Hunter-Lab 15.058, 19.072, -19.512
Binary 01000000, 00010111, 01001111

Color Schemes with #40174f

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

Alternatives to #40174f

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

Similar Colors

#40174f Preview

Text with hexadecimal color #40174f

This text has a font color of #40174f.

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

This paragraph has a background color of #40174f.

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

This element has a border color of #40174f.

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

Shades and Tints of #40174f

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

Shade Color Variation
Tint Color Variation

Tones of #40174f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40174f 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
  • #2a2a2a Achromatopsia 0.005% of the population
  • #2e2631 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003264 Protanopia 1% of men
  • #1f3452 Deuteranopia 1% of men
  • #432f32 Tritanopia 0.001% of the population
Trichromacy
  • #17285c Protanomaly 1% of men, 0.01% of women
  • #2b2a51 Deuteranomaly 6% of men, 0.4% of women
  • #42263c Tritanomaly 0.01% of the population