#7f42c9 Color Information

In a RGB color space, hex #7f42c9 is composed of 49.8% red, 25.9% green and 78.8% blue. Whereas in a CMYK color space, it is composed of 36.8% cyan, 67.2% magenta, 0% yellow and 21.2% black. It has a hue angle of 267.1 degrees, a saturation of 55.6% and a lightness of 52.4%. #7f42c9 color hex could be obtained by blending #fe84ff with #000093. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 79
    RGB color chart
    • C 37
    • M 67
    • Y 0
    • K 21
    CMYK color chart

#7f42c9 color description : Moderate violet.

#7f42c9 Color Conversion

The hexadecimal color #7f42c9 has RGB values of R:127, G:66, B:201 and CMYK values of C:0.37, M:0.67, Y:0, K:0.21. Its decimal value is 8340169.

Hex triplet 7f42c9 #7f42c9
RGB Decimal 127, 66, 201 rgb(127,66,201)
RGB Percent 49.8, 25.9, 78.8 rgb(49.8%,25.9%,78.8%)
CMYK 37, 67, 0, 21
HSL 267.1°, 55.6, 52.4 hsl(267.1,55.6%,52.4%)
HSV (or HSB) 267.1°, 67.2, 78.8
Web Safe 6633cc #6633cc
CIE-LAB 42.194, 52.591, -60.451
XYZ 21.242, 12.626, 56.573
xyY 0.235, 0.14, 12.626
CIE-LCH 42.194, 80.126, 311.022
CIE-LUV 42.194, 14.016, -93.017
Hunter-Lab 35.533, 44.526, -69.526
Binary 01111111, 01000010, 11001001

Color Schemes with #7f42c9

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

Alternatives to #7f42c9

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

Similar Colors

#7f42c9 Preview

Text with hexadecimal color #7f42c9

This text has a font color of #7f42c9.

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

This paragraph has a background color of #7f42c9.

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

This element has a border color of #7f42c9.

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

Shades and Tints of #7f42c9

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

Shade Color Variation
Tint Color Variation

Tones of #7f42c9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42c9 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
  • #646464 Achromatopsia 0.005% of the population
  • #695d78 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0068cc Protanopia 1% of men
  • #006db4 Deuteranopia 1% of men
  • #6e6a71 Tritanopia 0.001% of the population
Trichromacy
  • #2e5aca Protanomaly 1% of men, 0.01% of women
  • #2e5dbc Deuteranomaly 6% of men, 0.4% of women
  • #745b91 Tritanomaly 0.01% of the population