#40257d Color Information

In a RGB color space, hex #40257d is composed of 25.1% red, 14.5% green and 49% blue. Whereas in a CMYK color space, it is composed of 48.8% cyan, 70.4% magenta, 0% yellow and 51% black. It has a hue angle of 258.4 degrees, a saturation of 54.3% and a lightness of 31.8%. #40257d color hex could be obtained by blending #804afa with #000000. Closest websafe color is: #333366.

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

#40257d color description : Dark violet.

#40257d Color Conversion

The hexadecimal color #40257d has RGB values of R:64, G:37, B:125 and CMYK values of C:0.49, M:0.7, Y:0, K:0.51. Its decimal value is 4203901.

Hex triplet 40257d #40257d
RGB Decimal 64, 37, 125 rgb(64,37,125)
RGB Percent 25.1, 14.5, 49 rgb(25.1%,14.5%,49%)
CMYK 49, 70, 0, 51
HSL 258.4°, 54.3, 31.8 hsl(258.4,54.3%,31.8%)
HSV (or HSB) 258.4°, 70.4, 49
Web Safe 333366 #333366
CIE-LAB 23.317, 34.758, -45.543
XYZ 6.477, 3.894, 19.811
xyY 0.215, 0.129, 3.894
CIE-LCH 23.317, 57.291, 307.351
CIE-LUV 23.317, 3.202, -56.516
Hunter-Lab 19.732, 24.059, -45.714
Binary 01000000, 00100101, 01111101

Color Schemes with #40257d

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

Alternatives to #40257d

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

Similar Colors

#40257d Preview

Text with hexadecimal color #40257d

This text has a font color of #40257d.

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

This paragraph has a background color of #40257d.

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

This element has a border color of #40257d.

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

Shades and Tints of #40257d

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

Shade Color Variation
Tint Color Variation

Tones of #40257d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40257d 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
  • #003f7c Protanopia 1% of men
  • #00436d Deuteranopia 1% of men
  • #354449 Tritanopia 0.001% of the population
Trichromacy
  • #17367c Protanomaly 1% of men, 0.01% of women
  • #173873 Deuteranomaly 6% of men, 0.4% of women
  • #39385c Tritanomaly 0.01% of the population