#40257e Color Information

In a RGB color space, hex #40257e is composed of 25.1% red, 14.5% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 70.6% magenta, 0% yellow and 50.6% black. It has a hue angle of 258.2 degrees, a saturation of 54.6% and a lightness of 32%. #40257e color hex could be obtained by blending #804afc with #000000. Closest websafe color is: #333366.

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

#40257e color description : Dark violet.

#40257e Color Conversion

The hexadecimal color #40257e has RGB values of R:64, G:37, B:126 and CMYK values of C:0.49, M:0.71, Y:0, K:0.51. Its decimal value is 4203902.

Hex triplet 40257e #40257e
RGB Decimal 64, 37, 126 rgb(64,37,126)
RGB Percent 25.1, 14.5, 49.4 rgb(25.1%,14.5%,49.4%)
CMYK 49, 71, 0, 51
HSL 258.2°, 54.6, 32 hsl(258.2,54.6%,32%)
HSV (or HSB) 258.2°, 70.6, 49.4
Web Safe 333366 #333366
CIE-LAB 23.403, 35.059, -46.035
XYZ 6.541, 3.919, 20.149
xyY 0.214, 0.128, 3.919
CIE-LCH 23.403, 57.865, 307.292
CIE-LUV 23.403, 3.097, -57.164
Hunter-Lab 19.797, 24.331, -46.486
Binary 01000000, 00100101, 01111110

Color Schemes with #40257e

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

Alternatives to #40257e

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

Similar Colors

#40257e Preview

Text with hexadecimal color #40257e

This text has a font color of #40257e.

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

This paragraph has a background color of #40257e.

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

This element has a border color of #40257e.

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

Shades and Tints of #40257e

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

Shade Color Variation
Tint Color Variation

Tones of #40257e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40257e 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
  • #373737 Achromatopsia 0.005% of the population
  • #393345 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00436e Deuteranopia 1% of men
  • #354449 Tritanopia 0.001% of the population
Trichromacy
  • #17367d Protanomaly 1% of men, 0.01% of women
  • #173873 Deuteranomaly 6% of men, 0.4% of women
  • #39395c Tritanomaly 0.01% of the population