#40258c Color Information

In a RGB color space, hex #40258c is composed of 25.1% red, 14.5% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 73.6% magenta, 0% yellow and 45.1% black. It has a hue angle of 255.7 degrees, a saturation of 58.2% and a lightness of 34.7%. #40258c color hex could be obtained by blending #804aff with #000019. Closest websafe color is: #333399.

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

#40258c color description : Dark violet.

#40258c Color Conversion

The hexadecimal color #40258c has RGB values of R:64, G:37, B:140 and CMYK values of C:0.54, M:0.74, Y:0, K:0.45. Its decimal value is 4203916.

Hex triplet 40258c #40258c
RGB Decimal 64, 37, 140 rgb(64,37,140)
RGB Percent 25.1, 14.5, 54.9 rgb(25.1%,14.5%,54.9%)
CMYK 54, 74, 0, 45
HSL 255.7°, 58.2, 34.7 hsl(255.7,58.2%,34.7%)
HSV (or HSB) 255.7°, 73.6, 54.9
Web Safe 333399 #333399
CIE-LAB 24.66, 39.285, -52.764
XYZ 7.509, 4.306, 25.245
xyY 0.203, 0.116, 4.306
CIE-LCH 24.66, 65.783, 306.669
CIE-LUV 24.66, 1.705, -66.095
Hunter-Lab 20.752, 28.271, -57.601
Binary 01000000, 00100101, 10001100

Color Schemes with #40258c

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

Alternatives to #40258c

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

Similar Colors

#40258c Preview

Text with hexadecimal color #40258c

This text has a font color of #40258c.

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

This paragraph has a background color of #40258c.

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

This element has a border color of #40258c.

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

Shades and Tints of #40258c

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

Shade Color Variation
Tint Color Variation

Tones of #40258c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40258c 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
  • #393939 Achromatopsia 0.005% of the population
  • #3a354a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004282 Protanopia 1% of men
  • #004671 Deuteranopia 1% of men
  • #2c484e Tritanopia 0.001% of the population
Trichromacy
  • #173785 Protanomaly 1% of men, 0.01% of women
  • #173a7b Deuteranomaly 6% of men, 0.4% of women
  • #333b64 Tritanomaly 0.01% of the population