#7f42b5 Color Information

In a RGB color space, hex #7f42b5 is composed of 49.8% red, 25.9% green and 71% blue. Whereas in a CMYK color space, it is composed of 29.8% cyan, 63.5% magenta, 0% yellow and 29% black. It has a hue angle of 271.8 degrees, a saturation of 46.6% and a lightness of 48.4%. #7f42b5 color hex could be obtained by blending #fe84ff with #00006b. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 71
    RGB color chart
    • C 30
    • M 64
    • Y 0
    • K 29
    CMYK color chart

#7f42b5 color description : Moderate violet.

#7f42b5 Color Conversion

The hexadecimal color #7f42b5 has RGB values of R:127, G:66, B:181 and CMYK values of C:0.3, M:0.64, Y:0, K:0.29. Its decimal value is 8340149.

Hex triplet 7f42b5 #7f42b5
RGB Decimal 127, 66, 181 rgb(127,66,181)
RGB Percent 49.8, 25.9, 71 rgb(49.8%,25.9%,71%)
CMYK 30, 64, 0, 29
HSL 271.8°, 46.6, 48.4 hsl(271.8,46.6%,48.4%)
HSV (or HSB) 271.8°, 63.5, 71
Web Safe 6633cc #6633cc
CIE-LAB 40.808, 47.696, -51.006
XYZ 19.04, 11.745, 44.977
xyY 0.251, 0.155, 11.745
CIE-LCH 40.808, 69.832, 313.08
CIE-LUV 40.808, 17.424, -78.6
Hunter-Lab 34.271, 39.195, -53.823
Binary 01111111, 01000010, 10110101

Color Schemes with #7f42b5

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

Alternatives to #7f42b5

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

Similar Colors

#7f42b5 Preview

Text with hexadecimal color #7f42b5

This text has a font color of #7f42b5.

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

This paragraph has a background color of #7f42b5.

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

This element has a border color of #7f42b5.

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

Shades and Tints of #7f42b5

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 #7f42b5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42b5 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.

  • #616161 Achromatopsia 0.005% of the population
  • #675b72 Atypical Achromatopsia 0.001% of the population
  • #0065c6 Protanopia 1% of men
  • #2169ae Deuteranopia 1% of men
  • #74646b Tritanopia 0.001% of the population
  • #2e58c0 Protanomaly 1% of men, 0.01% of women
  • #435bb0 Deuteranomaly 6% of men, 0.4% of women
  • #785786 Tritanomaly 0.01% of the population