#40257b Color Information

In a RGB color space, hex #40257b is composed of 25.1% red, 14.5% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 69.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 258.8 degrees, a saturation of 53.8% and a lightness of 31.4%. #40257b color hex could be obtained by blending #804af6 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

#40257b color description : Dark moderate violet.

#40257b Color Conversion

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

Hex triplet 40257b #40257b
RGB Decimal 64, 37, 123 rgb(64,37,123)
RGB Percent 25.1, 14.5, 48.2 rgb(25.1%,14.5%,48.2%)
CMYK 48, 70, 0, 52
HSL 258.8°, 53.8, 31.4 hsl(258.8,53.8%,31.4%)
HSV (or HSB) 258.8°, 69.9, 48.2
Web Safe 333366 #333366
CIE-LAB 23.146, 34.157, -44.553
XYZ 6.35, 3.843, 19.145
xyY 0.216, 0.131, 3.843
CIE-LCH 23.146, 56.14, 307.476
CIE-LUV 23.146, 3.414, -55.215
Hunter-Lab 19.604, 23.516, -44.18
Binary 01000000, 00100101, 01111011

Color Schemes with #40257b

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

Alternatives to #40257b

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

Similar Colors

#40257b Preview

Text with hexadecimal color #40257b

This text has a font color of #40257b.

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

This paragraph has a background color of #40257b.

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

This element has a border color of #40257b.

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

Shades and Tints of #40257b

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

Shade Color Variation
Tint Color Variation

Tones of #40257b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40257b 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
  • #17357b Protanomaly 1% of men, 0.01% of women
  • #173872 Deuteranomaly 6% of men, 0.4% of women
  • #3a385a Tritanomaly 0.01% of the population