#7f42b9 Color Information

In a RGB color space, hex #7f42b9 is composed of 49.8% red, 25.9% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 31.4% cyan, 64.3% magenta, 0% yellow and 27.5% black. It has a hue angle of 270.8 degrees, a saturation of 47.4% and a lightness of 49.2%. #7f42b9 color hex could be obtained by blending #fe84ff with #000073. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 73
    RGB color chart
    • C 31
    • M 64
    • Y 0
    • K 27
    CMYK color chart

#7f42b9 color description : Moderate violet.

#7f42b9 Color Conversion

The hexadecimal color #7f42b9 has RGB values of R:127, G:66, B:185 and CMYK values of C:0.31, M:0.64, Y:0, K:0.27. Its decimal value is 8340153.

Hex triplet 7f42b9 #7f42b9
RGB Decimal 127, 66, 185 rgb(127,66,185)
RGB Percent 49.8, 25.9, 72.5 rgb(49.8%,25.9%,72.5%)
CMYK 31, 64, 0, 27
HSL 270.8°, 47.4, 49.2 hsl(270.8,47.4%,49.2%)
HSV (or HSB) 270.8°, 64.3, 72.5
Web Safe 6633cc #6633cc
CIE-LAB 41.075, 48.662, -52.928
XYZ 19.456, 11.911, 47.17
xyY 0.248, 0.152, 11.911
CIE-LCH 41.075, 71.898, 312.595
CIE-LUV 41.075, 16.713, -81.537
Hunter-Lab 34.513, 40.229, -56.875
Binary 01111111, 01000010, 10111001

Color Schemes with #7f42b9

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

Alternatives to #7f42b9

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

Similar Colors

#7f42b9 Preview

Text with hexadecimal color #7f42b9

This text has a font color of #7f42b9.

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

This paragraph has a background color of #7f42b9.

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

This element has a border color of #7f42b9.

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

Shades and Tints of #7f42b9

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, #08040c is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #7f42b9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42b9 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
  • #626262 Achromatopsia 0.005% of the population
  • #685c73 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0065c7 Protanopia 1% of men
  • #106ab1 Deuteranopia 1% of men
  • #73656c Tritanopia 0.001% of the population
Trichromacy
  • #2e58c2 Protanomaly 1% of men, 0.01% of women
  • #385bb4 Deuteranomaly 6% of men, 0.4% of women
  • #775888 Tritanomaly 0.01% of the population