#40218b Color Information

In a RGB color space, hex #40218b is composed of 25.1% red, 12.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 76.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 257.5 degrees, a saturation of 61.6% and a lightness of 33.7%. #40218b color hex could be obtained by blending #8042ff with #000017. 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

#40218b color description : Dark violet.

#40218b Color Conversion

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

Hex triplet 40218b #40218b
RGB Decimal 64, 33, 139 rgb(64,33,139)
RGB Percent 25.1, 12.9, 54.5 rgb(25.1%,12.9%,54.5%)
CMYK 54, 76, 0, 45
HSL 257.5°, 61.6, 33.7 hsl(257.5,61.6%,33.7%)
HSV (or HSB) 257.5°, 76.3, 54.5
Web Safe 333399 #333399
CIE-LAB 23.809, 41.117, -53.537
XYZ 7.318, 4.042, 24.819
xyY 0.202, 0.112, 4.042
CIE-LCH 23.809, 67.504, 307.525
CIE-LUV 23.809, 2.386, -65.894
Hunter-Lab 20.104, 29.79, -59.124
Binary 01000000, 00100001, 10001011

Color Schemes with #40218b

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

Alternatives to #40218b

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

Similar Colors

#40218b Preview

Text with hexadecimal color #40218b

This text has a font color of #40218b.

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

This paragraph has a background color of #40218b.

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

This element has a border color of #40218b.

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

Shades and Tints of #40218b

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

Shade Color Variation
Tint Color Variation

Tones of #40218b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40218b 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
  • #00417e Protanopia 1% of men
  • #00446e Deuteranopia 1% of men
  • #2c464c Tritanopia 0.001% of the population
Trichromacy
  • #173583 Protanomaly 1% of men, 0.01% of women
  • #173778 Deuteranomaly 6% of men, 0.4% of women
  • #333962 Tritanomaly 0.01% of the population