#5f21f2 Color Information

In a RGB color space, hex #5f21f2 is composed of 37.3% red, 12.9% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 60.7% cyan, 86.4% magenta, 0% yellow and 5.1% black. It has a hue angle of 257.8 degrees, a saturation of 88.9% and a lightness of 53.9%. #5f21f2 color hex could be obtained by blending #be42ff with #0000e5. Closest websafe color is: #6633ff.

    • R 37
    • G 13
    • B 95
    RGB color chart
    • C 61
    • M 86
    • Y 0
    • K 5
    CMYK color chart

#5f21f2 color description : Vivid violet.

#5f21f2 Color Conversion

The hexadecimal color #5f21f2 has RGB values of R:95, G:33, B:242 and CMYK values of C:0.61, M:0.86, Y:0, K:0.05. Its decimal value is 6234610.

Hex triplet 5f21f2 #5f21f2
RGB Decimal 95, 33, 242 rgb(95,33,242)
RGB Percent 37.3, 12.9, 94.9 rgb(37.3%,12.9%,94.9%)
CMYK 61, 86, 0, 5
HSL 257.8°, 88.9, 53.9 hsl(257.8,88.9%,53.9%)
HSV (or HSB) 257.8°, 86.4, 94.9
Web Safe 6633ff #6633ff
CIE-LAB 37.718, 72.101, -91.389
XYZ 21.287, 9.931, 84.795
xyY 0.183, 0.086, 9.931
CIE-LCH 37.718, 116.407, 308.271
CIE-LUV 37.718, 1.316, -126.435
Hunter-Lab 31.513, 65.43, -137.477
Binary 01011111, 00100001, 11110010

Color Schemes with #5f21f2

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

Alternatives to #5f21f2

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

Similar Colors

#5f21f2 Preview

Text with hexadecimal color #5f21f2

This text has a font color of #5f21f2.

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

This paragraph has a background color of #5f21f2.

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

This element has a border color of #5f21f2.

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

Shades and Tints of #5f21f2

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

Shade Color Variation
Tint Color Variation

Tones of #5f21f2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21f2 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4f436c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005eb7 Protanopia 1% of men
  • #00649f Deuteranopia 1% of men
  • #006a72 Tritanopia 0.001% of the population
Trichromacy
  • #2248cc Protanomaly 1% of men, 0.01% of women
  • #224bbd Deuteranomaly 6% of men, 0.4% of women
  • #2250a0 Tritanomaly 0.01% of the population