#7f42b1 Color Information

In a RGB color space, hex #7f42b1 is composed of 49.8% red, 25.9% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 28.2% cyan, 62.7% magenta, 0% yellow and 30.6% black. It has a hue angle of 273 degrees, a saturation of 45.7% and a lightness of 47.6%. #7f42b1 color hex could be obtained by blending #fe84ff with #000063. Closest websafe color is: #663399.

    • R 50
    • G 26
    • B 69
    RGB color chart
    • C 28
    • M 63
    • Y 0
    • K 31
    CMYK color chart

#7f42b1 color description : Dark moderate violet.

#7f42b1 Color Conversion

The hexadecimal color #7f42b1 has RGB values of R:127, G:66, B:177 and CMYK values of C:0.28, M:0.63, Y:0, K:0.31. Its decimal value is 8340145.

Hex triplet 7f42b1 #7f42b1
RGB Decimal 127, 66, 177 rgb(127,66,177)
RGB Percent 49.8, 25.9, 69.4 rgb(49.8%,25.9%,69.4%)
CMYK 28, 63, 0, 31
HSL 273°, 45.7, 47.6 hsl(273,45.7%,47.6%)
HSV (or HSB) 273°, 62.7, 69.4
Web Safe 663399 #663399
CIE-LAB 40.546, 46.739, -49.067
XYZ 18.635, 11.583, 42.847
xyY 0.255, 0.159, 11.583
CIE-LCH 40.546, 67.765, 313.608
CIE-LUV 40.546, 18.149, -75.636
Hunter-Lab 34.034, 38.178, -50.819
Binary 01111111, 01000010, 10110001

Color Schemes with #7f42b1

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

Alternatives to #7f42b1

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

Similar Colors

#7f42b1 Preview

Text with hexadecimal color #7f42b1

This text has a font color of #7f42b1.

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

This paragraph has a background color of #7f42b1.

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

This element has a border color of #7f42b1.

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

Shades and Tints of #7f42b1

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

Shade Color Variation
Tint Color Variation

Tones of #7f42b1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42b1 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
  • #616161 Achromatopsia 0.005% of the population
  • #675b71 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0064c5 Protanopia 1% of men
  • #2b69aa Deuteranopia 1% of men
  • #756269 Tritanopia 0.001% of the population
Trichromacy
  • #2e58be Protanomaly 1% of men, 0.01% of women
  • #495aad Deuteranomaly 6% of men, 0.4% of women
  • #795683 Tritanomaly 0.01% of the population