#5f21e4 Color Information

In a RGB color space, hex #5f21e4 is composed of 37.3% red, 12.9% green and 89.4% blue. Whereas in a CMYK color space, it is composed of 58.3% cyan, 85.5% magenta, 0% yellow and 10.6% black. It has a hue angle of 259.1 degrees, a saturation of 78.3% and a lightness of 51.2%. #5f21e4 color hex could be obtained by blending #be42ff with #0000c9. Closest websafe color is: #6633cc.

    • R 37
    • G 13
    • B 89
    RGB color chart
    • C 58
    • M 86
    • Y 0
    • K 11
    CMYK color chart

#5f21e4 color description : Vivid violet.

#5f21e4 Color Conversion

The hexadecimal color #5f21e4 has RGB values of R:95, G:33, B:228 and CMYK values of C:0.58, M:0.86, Y:0, K:0.11. Its decimal value is 6234596.

Hex triplet 5f21e4 #5f21e4
RGB Decimal 95, 33, 228 rgb(95,33,228)
RGB Percent 37.3, 12.9, 89.4 rgb(37.3%,12.9%,89.4%)
CMYK 58, 86, 0, 11
HSL 259.1°, 78.3, 51.2 hsl(259.1,78.3%,51.2%)
HSV (or HSB) 259.1°, 85.5, 89.4
Web Safe 6633cc #6633cc
CIE-LAB 36.217, 68.628, -85.922
XYZ 19.264, 9.122, 74.14
xyY 0.188, 0.089, 9.122
CIE-LCH 36.217, 109.966, 308.615
CIE-LUV 36.217, 2.703, -118.388
Hunter-Lab 30.202, 61.003, -124.405
Binary 01011111, 00100001, 11100100

Color Schemes with #5f21e4

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

Alternatives to #5f21e4

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

Similar Colors

#5f21e4 Preview

Text with hexadecimal color #5f21e4

This text has a font color of #5f21e4.

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

This paragraph has a background color of #5f21e4.

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

This element has a border color of #5f21e4.

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

Shades and Tints of #5f21e4

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

Shade Color Variation
Tint Color Variation

Tones of #5f21e4

A tone is produced by adding gray to any pure hue. In this case, #828184 is the less saturated color, while #580ef7 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21e4 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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #4e4269 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb1 Protanopia 1% of men
  • #006099 Deuteranopia 1% of men
  • #11666e Tritanopia 0.001% of the population
Trichromacy
  • #2246c3 Protanomaly 1% of men, 0.01% of women
  • #2249b4 Deuteranomaly 6% of men, 0.4% of women
  • #2d4d99 Tritanomaly 0.01% of the population