#40217e Color Information

In a RGB color space, hex #40217e is composed of 25.1% red, 12.9% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 73.8% magenta, 0% yellow and 50.6% black. It has a hue angle of 260 degrees, a saturation of 58.5% and a lightness of 31.2%. #40217e color hex could be obtained by blending #8042fc with #000000. Closest websafe color is: #333366.

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

#40217e color description : Dark violet.

#40217e Color Conversion

The hexadecimal color #40217e has RGB values of R:64, G:33, B:126 and CMYK values of C:0.49, M:0.74, Y:0, K:0.51. Its decimal value is 4202878.

Hex triplet 40217e #40217e
RGB Decimal 64, 33, 126 rgb(64,33,126)
RGB Percent 25.1, 12.9, 49.4 rgb(25.1%,12.9%,49.4%)
CMYK 49, 74, 0, 51
HSL 260°, 58.5, 31.2 hsl(260,58.5%,31.2%)
HSV (or HSB) 260°, 73.8, 49.4
Web Safe 333366 #333366
CIE-LAB 22.598, 37.293, -47.35
XYZ 6.423, 3.684, 20.11
xyY 0.213, 0.122, 3.684
CIE-LCH 22.598, 60.272, 308.224
CIE-LUV 22.598, 3.743, -57.755
Hunter-Lab 19.194, 26.149, -48.685
Binary 01000000, 00100001, 01111110

Color Schemes with #40217e

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

Alternatives to #40217e

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

Similar Colors

#40217e Preview

Text with hexadecimal color #40217e

This text has a font color of #40217e.

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

This paragraph has a background color of #40217e.

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

This element has a border color of #40217e.

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

Shades and Tints of #40217e

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

Shade Color Variation
Tint Color Variation

Tones of #40217e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40217e 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
  • #003e79 Protanopia 1% of men
  • #00416a Deuteranopia 1% of men
  • #344247 Tritanopia 0.001% of the population
Trichromacy
  • #17337b Protanomaly 1% of men, 0.01% of women
  • #173571 Deuteranomaly 6% of men, 0.4% of women
  • #38365b Tritanomaly 0.01% of the population