#40245b Color Information

In a RGB color space, hex #40245b is composed of 25.1% red, 14.1% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 60.4% magenta, 0% yellow and 64.3% black. It has a hue angle of 270.5 degrees, a saturation of 43.3% and a lightness of 24.9%. #40245b color hex could be obtained by blending #8048b6 with #000000. Closest websafe color is: #333366.

    • R 25
    • G 14
    • B 36
    RGB color chart
    • C 30
    • M 60
    • Y 0
    • K 64
    CMYK color chart

#40245b color description : Very dark violet.

#40245b Color Conversion

The hexadecimal color #40245b has RGB values of R:64, G:36, B:91 and CMYK values of C:0.3, M:0.6, Y:0, K:0.64. Its decimal value is 4203611.

Hex triplet 40245b #40245b
RGB Decimal 64, 36, 91 rgb(64,36,91)
RGB Percent 25.1, 14.1, 35.7 rgb(25.1%,14.1%,35.7%)
CMYK 30, 60, 0, 64
HSL 270.5°, 43.3, 24.9 hsl(270.5,43.3%,24.9%)
HSV (or HSB) 270.5°, 60.4, 35.7
Web Safe 333366 #333366
CIE-LAB 20.468, 25.461, -28.113
XYZ 4.633, 3.107, 10.253
xyY 0.258, 0.173, 3.107
CIE-LCH 20.468, 37.929, 312.165
CIE-LUV 20.468, 7.498, -33.873
Hunter-Lab 17.627, 16.071, -22.146
Binary 01000000, 00100100, 01011011

Color Schemes with #40245b

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

Alternatives to #40245b

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

Similar Colors

#40245b Preview

Text with hexadecimal color #40245b

This text has a font color of #40245b.

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

This paragraph has a background color of #40245b.

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

This element has a border color of #40245b.

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

Shades and Tints of #40245b

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

Shade Color Variation
Tint Color Variation

Tones of #40245b

A tone is produced by adding gray to any pure hue. In this case, #403c43 is the less saturated color, while #41027d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40245b 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
  • #333333 Achromatopsia 0.005% of the population
  • #36303b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1a3a6c Protanopia 1% of men
  • #223c5e Deuteranopia 1% of men
  • #41393e Tritanopia 0.001% of the population
Trichromacy
  • #283266 Protanomaly 1% of men, 0.01% of women
  • #2d335d Deuteranomaly 6% of men, 0.4% of women
  • #413148 Tritanomaly 0.01% of the population