#40218c Color Information

In a RGB color space, hex #40218c is composed of 25.1% red, 12.9% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 76.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 257.4 degrees, a saturation of 61.8% and a lightness of 33.9%. #40218c color hex could be obtained by blending #8042ff with #000019. Closest websafe color is: #333399.

    • R 25
    • G 13
    • B 55
    RGB color chart
    • C 54
    • M 76
    • Y 0
    • K 45
    CMYK color chart

#40218c color description : Dark violet.

#40218c Color Conversion

The hexadecimal color #40218c has RGB values of R:64, G:33, B:140 and CMYK values of C:0.54, M:0.76, Y:0, K:0.45. Its decimal value is 4202892.

Hex triplet 40218c #40218c
RGB Decimal 64, 33, 140 rgb(64,33,140)
RGB Percent 25.1, 12.9, 54.9 rgb(25.1%,12.9%,54.9%)
CMYK 54, 76, 0, 45
HSL 257.4°, 61.8, 33.9 hsl(257.4,61.8%,33.9%)
HSV (or HSB) 257.4°, 76.4, 54.9
Web Safe 333399 #333399
CIE-LAB 23.905, 41.411, -54.002
XYZ 7.391, 4.071, 25.206
xyY 0.202, 0.111, 4.071
CIE-LCH 23.905, 68.052, 307.483
CIE-LUV 23.905, 2.287, -66.512
Hunter-Lab 20.177, 30.078, -59.945
Binary 01000000, 00100001, 10001100

Color Schemes with #40218c

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

Alternatives to #40218c

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

Similar Colors

#40218c Preview

Text with hexadecimal color #40218c

This text has a font color of #40218c.

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

This paragraph has a background color of #40218c.

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

This element has a border color of #40218c.

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

Shades and Tints of #40218c

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, #06030d is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #40218c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40218c 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
  • #363636 Achromatopsia 0.005% of the population
  • #383247 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #00446e Deuteranopia 1% of men
  • #2c474c Tritanopia 0.001% of the population
Trichromacy
  • #173583 Protanomaly 1% of men, 0.01% of women
  • #173779 Deuteranomaly 6% of men, 0.4% of women
  • #333963 Tritanomaly 0.01% of the population