#40257c Color Information

In a RGB color space, hex #40257c is composed of 25.1% red, 14.5% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 48.4% cyan, 70.2% magenta, 0% yellow and 51.4% black. It has a hue angle of 258.6 degrees, a saturation of 54% and a lightness of 31.6%. #40257c color hex could be obtained by blending #804af8 with #000000. Closest websafe color is: #333366.

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

#40257c color description : Dark violet.

#40257c Color Conversion

The hexadecimal color #40257c has RGB values of R:64, G:37, B:124 and CMYK values of C:0.48, M:0.7, Y:0, K:0.51. Its decimal value is 4203900.

Hex triplet 40257c #40257c
RGB Decimal 64, 37, 124 rgb(64,37,124)
RGB Percent 25.1, 14.5, 48.6 rgb(25.1%,14.5%,48.6%)
CMYK 48, 70, 0, 51
HSL 258.6°, 54, 31.6 hsl(258.6,54%,31.6%)
HSV (or HSB) 258.6°, 70.2, 48.6
Web Safe 333366 #333366
CIE-LAB 23.231, 34.457, -45.049
XYZ 6.413, 3.868, 19.476
xyY 0.216, 0.13, 3.868
CIE-LCH 23.231, 56.716, 307.412
CIE-LUV 23.231, 3.307, -55.866
Hunter-Lab 19.668, 23.787, -44.945
Binary 01000000, 00100101, 01111100

Color Schemes with #40257c

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

Alternatives to #40257c

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

Similar Colors

#40257c Preview

Text with hexadecimal color #40257c

This text has a font color of #40257c.

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

This paragraph has a background color of #40257c.

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

This element has a border color of #40257c.

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

Shades and Tints of #40257c

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

Shade Color Variation
Tint Color Variation

Tones of #40257c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40257c 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
  • #364348 Tritanopia 0.001% of the population
Trichromacy
  • #17367c Protanomaly 1% of men, 0.01% of women
  • #173872 Deuteranomaly 6% of men, 0.4% of women
  • #39385b Tritanomaly 0.01% of the population