#40257a Color Information

In a RGB color space, hex #40257a is composed of 25.1% red, 14.5% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 47.5% cyan, 69.7% magenta, 0% yellow and 52.2% black. It has a hue angle of 259.1 degrees, a saturation of 53.5% and a lightness of 31.2%. #40257a color hex could be obtained by blending #804af4 with #000000. Closest websafe color is: #333366.

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

#40257a color description : Dark moderate violet.

#40257a Color Conversion

The hexadecimal color #40257a has RGB values of R:64, G:37, B:122 and CMYK values of C:0.48, M:0.7, Y:0, K:0.52. Its decimal value is 4203898.

Hex triplet 40257a #40257a
RGB Decimal 64, 37, 122 rgb(64,37,122)
RGB Percent 25.1, 14.5, 47.8 rgb(25.1%,14.5%,47.8%)
CMYK 48, 70, 0, 52
HSL 259.1°, 53.5, 31.2 hsl(259.1,53.5%,31.2%)
HSV (or HSB) 259.1°, 69.7, 47.8
Web Safe 333366 #333366
CIE-LAB 23.061, 33.857, -44.055
XYZ 6.288, 3.818, 18.817
xyY 0.217, 0.132, 3.818
CIE-LCH 23.061, 55.562, 307.543
CIE-LUV 23.061, 3.521, -54.563
Hunter-Lab 19.54, 23.247, -43.417
Binary 01000000, 00100101, 01111010

Color Schemes with #40257a

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

Alternatives to #40257a

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

Similar Colors

#40257a Preview

Text with hexadecimal color #40257a

This text has a font color of #40257a.

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

This paragraph has a background color of #40257a.

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

This element has a border color of #40257a.

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

Shades and Tints of #40257a

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

Shade Color Variation
Tint Color Variation

Tones of #40257a

A tone is produced by adding gray to any pure hue. In this case, #4d4a55 is the less saturated color, while #33009f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40257a 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
  • #393344 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00426d Deuteranopia 1% of men
  • #374348 Tritanopia 0.001% of the population
Trichromacy
  • #17357b Protanomaly 1% of men, 0.01% of women
  • #173771 Deuteranomaly 6% of men, 0.4% of women
  • #3a385a Tritanomaly 0.01% of the population