#240540 Color Information

In a RGB color space, hex #240540 is composed of 14.1% red, 2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 43.8% cyan, 92.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 271.5 degrees, a saturation of 85.5% and a lightness of 13.5%. #240540 color hex could be obtained by blending #480a80 with #000000. Closest websafe color is: #330033.

    • R 14
    • G 2
    • B 25
    RGB color chart
    • C 44
    • M 92
    • Y 0
    • K 75
    CMYK color chart

#240540 color description : Very dark violet.

#240540 Color Conversion

The hexadecimal color #240540 has RGB values of R:36, G:5, B:64 and CMYK values of C:0.44, M:0.92, Y:0, K:0.75. Its decimal value is 2360640.

Hex triplet 240540 #240540
RGB Decimal 36, 5, 64 rgb(36,5,64)
RGB Percent 14.1, 2, 25.1 rgb(14.1%,2%,25.1%)
CMYK 44, 92, 0, 75
HSL 271.5°, 85.5, 13.5 hsl(271.5,85.5%,13.5%)
HSV (or HSB) 271.5°, 92.2, 25.1
Web Safe 330033 #330033
CIE-LAB 7.712, 28.733, -30.377
XYZ 1.707, 0.854, 4.925
xyY 0.228, 0.114, 0.854
CIE-LCH 7.712, 41.813, 313.407
CIE-LUV 7.712, 3.539, -20.652
Hunter-Lab 9.24, 16.807, -25.134
Binary 00100100, 00000101, 01000000

Color Schemes with #240540

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

Alternatives to #240540

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

Similar Colors

#240540 Preview

Text with hexadecimal color #240540

This text has a font color of #240540.

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

This paragraph has a background color of #240540.

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

This element has a border color of #240540.

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

Shades and Tints of #240540

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

Shade Color Variation
Tint Color Variation

Tones of #240540

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #240540 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
  • #151515 Achromatopsia 0.005% of the population
  • #18121e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002242 Protanopia 1% of men
  • #00233a Deuteranopia 1% of men
  • #252124 Tritanopia 0.001% of the population
Trichromacy
  • #0d1741 Protanomaly 1% of men, 0.01% of women
  • #0d183c Deuteranomaly 6% of men, 0.4% of women
  • #25172e Tritanomaly 0.01% of the population