#5f21d8 Color Information

In a RGB color space, hex #5f21d8 is composed of 37.3% red, 12.9% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 56% cyan, 84.7% magenta, 0% yellow and 15.3% black. It has a hue angle of 260.3 degrees, a saturation of 73.5% and a lightness of 48.8%. #5f21d8 color hex could be obtained by blending #be42ff with #0000b1. Closest websafe color is: #6633cc.

    • R 37
    • G 13
    • B 85
    RGB color chart
    • C 56
    • M 85
    • Y 0
    • K 15
    CMYK color chart

#5f21d8 color description : Strong violet.

#5f21d8 Color Conversion

The hexadecimal color #5f21d8 has RGB values of R:95, G:33, B:216 and CMYK values of C:0.56, M:0.85, Y:0, K:0.15. Its decimal value is 6234584.

Hex triplet 5f21d8 #5f21d8
RGB Decimal 95, 33, 216 rgb(95,33,216)
RGB Percent 37.3, 12.9, 84.7 rgb(37.3%,12.9%,84.7%)
CMYK 56, 85, 0, 15
HSL 260.3°, 73.5, 48.8 hsl(260.3,73.5%,48.8%)
HSV (or HSB) 260.3°, 84.7, 84.7
Web Safe 6633cc #6633cc
CIE-LAB 34.959, 65.637, -81.116
XYZ 17.656, 8.478, 65.668
xyY 0.192, 0.092, 8.478
CIE-LCH 34.959, 104.346, 308.979
CIE-LUV 34.959, 3.981, -111.399
Hunter-Lab 29.117, 57.281, -113.335
Binary 01011111, 00100001, 11011000

Color Schemes with #5f21d8

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

Alternatives to #5f21d8

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

Similar Colors

#5f21d8 Preview

Text with hexadecimal color #5f21d8

This text has a font color of #5f21d8.

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

This paragraph has a background color of #5f21d8.

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

This element has a border color of #5f21d8.

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

Shades and Tints of #5f21d8

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

Shade Color Variation
Tint Color Variation

Tones of #5f21d8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21d8 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
  • #484848 Achromatopsia 0.005% of the population
  • #4d4065 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0058ac Protanopia 1% of men
  • #005d95 Deuteranopia 1% of men
  • #2c6269 Tritanopia 0.001% of the population
Trichromacy
  • #2244bc Protanomaly 1% of men, 0.01% of women
  • #2247ad Deuteranomaly 6% of men, 0.4% of women
  • #3e4a91 Tritanomaly 0.01% of the population