#5f21f7 Color Information

In a RGB color space, hex #5f21f7 is composed of 37.3% red, 12.9% green and 96.9% blue. Whereas in a CMYK color space, it is composed of 61.5% cyan, 86.6% magenta, 0% yellow and 3.1% black. It has a hue angle of 257.4 degrees, a saturation of 93% and a lightness of 54.9%. #5f21f7 color hex could be obtained by blending #be42ff with #0000ef. Closest websafe color is: #6633ff.

    • R 37
    • G 13
    • B 97
    RGB color chart
    • C 62
    • M 87
    • Y 0
    • K 3
    CMYK color chart

#5f21f7 color description : Vivid violet.

#5f21f7 Color Conversion

The hexadecimal color #5f21f7 has RGB values of R:95, G:33, B:247 and CMYK values of C:0.62, M:0.87, Y:0, K:0.03. Its decimal value is 6234615.

Hex triplet 5f21f7 #5f21f7
RGB Decimal 95, 33, 247 rgb(95,33,247)
RGB Percent 37.3, 12.9, 96.9 rgb(37.3%,12.9%,96.9%)
CMYK 62, 87, 0, 3
HSL 257.4°, 93, 54.9 hsl(257.4,93%,54.9%)
HSV (or HSB) 257.4°, 86.6, 96.9
Web Safe 6633ff #6633ff
CIE-LAB 38.261, 73.336, -93.308
XYZ 22.049, 10.235, 88.804
xyY 0.182, 0.085, 10.235
CIE-LCH 38.261, 118.678, 308.166
CIE-LUV 38.261, 0.845, -129.284
Hunter-Lab 31.993, 67.031, -142.181
Binary 01011111, 00100001, 11110111

Color Schemes with #5f21f7

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

Alternatives to #5f21f7

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

Similar Colors

#5f21f7 Preview

Text with hexadecimal color #5f21f7

This text has a font color of #5f21f7.

<span style="color:#5f21f7;">Text here</span>
#5f21f7 background color

This paragraph has a background color of #5f21f7.

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

This element has a border color of #5f21f7.

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

Shades and Tints of #5f21f7

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

Shade Color Variation
Tint Color Variation

Tones of #5f21f7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21f7 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
  • #4c4c4c Achromatopsia 0.005% of the population
  • #50436e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005fba Protanopia 1% of men
  • #0065a1 Deuteranopia 1% of men
  • #006c73 Tritanopia 0.001% of the population
Trichromacy
  • #2249d0 Protanomaly 1% of men, 0.01% of women
  • #224cc0 Deuteranomaly 6% of men, 0.4% of women
  • #2250a3 Tritanomaly 0.01% of the population