#7f31a8 Color Information

In a RGB color space, hex #7f31a8 is composed of 49.8% red, 19.2% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 24.4% cyan, 70.8% magenta, 0% yellow and 34.1% black. It has a hue angle of 279.3 degrees, a saturation of 54.8% and a lightness of 42.5%. #7f31a8 color hex could be obtained by blending #fe62ff with #000051. Closest websafe color is: #663399.

    • R 50
    • G 19
    • B 66
    RGB color chart
    • C 24
    • M 71
    • Y 0
    • K 34
    CMYK color chart

#7f31a8 color description : Dark violet.

#7f31a8 Color Conversion

The hexadecimal color #7f31a8 has RGB values of R:127, G:49, B:168 and CMYK values of C:0.24, M:0.71, Y:0, K:0.34. Its decimal value is 8335784.

Hex triplet 7f31a8 #7f31a8
RGB Decimal 127, 49, 168 rgb(127,49,168)
RGB Percent 49.8, 19.2, 65.9 rgb(49.8%,19.2%,65.9%)
CMYK 24, 71, 0, 34
HSL 279.3°, 54.8, 42.5 hsl(279.3,54.8%,42.5%)
HSV (or HSB) 279.3°, 70.8, 65.9
Web Safe 663399 #663399
CIE-LAB 36.997, 52.822, -49.429
XYZ 16.918, 9.536, 37.993
xyY 0.263, 0.148, 9.536
CIE-LCH 36.997, 72.342, 316.901
CIE-LUV 36.997, 23.656, -74.565
Hunter-Lab 30.881, 43.747, -51.329
Binary 01111111, 00110001, 10101000

Color Schemes with #7f31a8

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

Alternatives to #7f31a8

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

Similar Colors

#7f31a8 Preview

Text with hexadecimal color #7f31a8

This text has a font color of #7f31a8.

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

This paragraph has a background color of #7f31a8.

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

This element has a border color of #7f31a8.

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

Shades and Tints of #7f31a8

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

Shade Color Variation
Tint Color Variation

Tones of #7f31a8

A tone is produced by adding gray to any pure hue. In this case, #6d6b6e is the less saturated color, while #8c07d2 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f31a8 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
  • #565656 Achromatopsia 0.005% of the population
  • #5e4f66 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb5 Protanopia 1% of men
  • #1b61a0 Deuteranopia 1% of men
  • #76575d Tritanopia 0.001% of the population
Trichromacy
  • #2e4cb0 Protanomaly 1% of men, 0.01% of women
  • #3f4fa3 Deuteranomaly 6% of men, 0.4% of women
  • #794978 Tritanomaly 0.01% of the population