#240c42 Color Information

In a RGB color space, hex #240c42 is composed of 14.1% red, 4.7% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 81.8% magenta, 0% yellow and 74.1% black. It has a hue angle of 266.7 degrees, a saturation of 69.2% and a lightness of 15.3%. #240c42 color hex could be obtained by blending #481884 with #000000. Closest websafe color is: #330033.

    • R 14
    • G 5
    • B 26
    RGB color chart
    • C 45
    • M 82
    • Y 0
    • K 74
    CMYK color chart

#240c42 color description : Very dark violet.

#240c42 Color Conversion

The hexadecimal color #240c42 has RGB values of R:36, G:12, B:66 and CMYK values of C:0.45, M:0.82, Y:0, K:0.74. Its decimal value is 2362434.

Hex triplet 240c42 #240c42
RGB Decimal 36, 12, 66 rgb(36,12,66)
RGB Percent 14.1, 4.7, 25.9 rgb(14.1%,4.7%,25.9%)
CMYK 45, 82, 0, 74
HSL 266.7°, 69.2, 15.3 hsl(266.7,69.2%,15.3%)
HSV (or HSB) 266.7°, 81.8, 25.9
Web Safe 330033 #330033
CIE-LAB 9.25, 25.473, -29.287
XYZ 1.842, 1.031, 5.256
xyY 0.227, 0.127, 1.031
CIE-LCH 9.25, 38.815, 311.015
CIE-LUV 9.25, 2.996, -22.576
Hunter-Lab 10.156, 14.608, -23.576
Binary 00100100, 00001100, 01000010

Color Schemes with #240c42

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

Alternatives to #240c42

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

Similar Colors

#240c42 Preview

Text with hexadecimal color #240c42

This text has a font color of #240c42.

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

This paragraph has a background color of #240c42.

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

This element has a border color of #240c42.

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

Shades and Tints of #240c42

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

Shade Color Variation
Tint Color Variation

Tones of #240c42

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #240c42 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
  • #191919 Achromatopsia 0.005% of the population
  • #1b1621 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002447 Protanopia 1% of men
  • #00263f Deuteranopia 1% of men
  • #252528 Tritanopia 0.001% of the population
Trichromacy
  • #0d1b45 Protanomaly 1% of men, 0.01% of women
  • #0d1d40 Deuteranomaly 6% of men, 0.4% of women
  • #251c31 Tritanomaly 0.01% of the population