#40217f Color Information

In a RGB color space, hex #40217f is composed of 25.1% red, 12.9% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 74% magenta, 0% yellow and 50.2% black. It has a hue angle of 259.8 degrees, a saturation of 58.8% and a lightness of 31.4%. #40217f color hex could be obtained by blending #8042fe with #000000. Closest websafe color is: #333366.

    • R 25
    • G 13
    • B 50
    RGB color chart
    • C 50
    • M 74
    • Y 0
    • K 50
    CMYK color chart

#40217f color description : Dark violet.

#40217f Color Conversion

The hexadecimal color #40217f has RGB values of R:64, G:33, B:127 and CMYK values of C:0.5, M:0.74, Y:0, K:0.5. Its decimal value is 4202879.

Hex triplet 40217f #40217f
RGB Decimal 64, 33, 127 rgb(64,33,127)
RGB Percent 25.1, 12.9, 49.8 rgb(25.1%,12.9%,49.8%)
CMYK 50, 74, 0, 50
HSL 259.8°, 58.8, 31.4 hsl(259.8,58.8%,31.4%)
HSV (or HSB) 259.8°, 74, 49.8
Web Safe 333366 #333366
CIE-LAB 22.688, 37.587, -47.835
XYZ 6.488, 3.71, 20.452
xyY 0.212, 0.121, 3.71
CIE-LCH 22.688, 60.835, 308.159
CIE-LUV 22.688, 3.634, -58.388
Hunter-Lab 19.261, 26.422, -49.472
Binary 01000000, 00100001, 01111111

Color Schemes with #40217f

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

Alternatives to #40217f

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

Similar Colors

#40217f Preview

Text with hexadecimal color #40217f

This text has a font color of #40217f.

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

This paragraph has a background color of #40217f.

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

This element has a border color of #40217f.

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

Shades and Tints of #40217f

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

Shade Color Variation
Tint Color Variation

Tones of #40217f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40217f 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
  • #353535 Achromatopsia 0.005% of the population
  • #373144 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e7a Protanopia 1% of men
  • #00426b Deuteranopia 1% of men
  • #344247 Tritanopia 0.001% of the population
Trichromacy
  • #17337c Protanomaly 1% of men, 0.01% of women
  • #173672 Deuteranomaly 6% of men, 0.4% of women
  • #38365b Tritanomaly 0.01% of the population