#5F22EC Color Information

Hex color code: #5F22EC

#5F22EC is a striking purple color. In RGB it is (95, 34, 236), and in HSL it is (258°, 84%, 53%). It is often used for branding and logos.

Try:
Color NameBlue Violet
HEX
#5F22EC
RGB
95, 34, 236
HSL
258°, 84%, 53%
CMYK
60%, 86%, 0%, 7%

Shades

CSS Usage
color: #5F22EC;
background-color: #5F22EC;
border-color: #5F22EC;
box-shadow: 0 0 10px #5F22EC;
border: 2px solid #5F22EC;
Tailwind Usage
bg-[#5F22EC]
text-[#5F22EC]
border-[#5F22EC]
shadow-[0_0_10px_5F22EC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5F22EC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5F22EC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5F22EC; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #5F22EC; background-color: #5F22EC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5F22EC20; border-left: 4px solid #5F22EC; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #5F22EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5F22EC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 34, 236

Red: 95 / Green: 34 / Blue: 236

HSL

258°, 84%, 53%

Hue: 258° / Saturation: 84% / Lightness: 53%

CMYK

60%, 86%, 0%, 7%

Cyan: 60% / Magenta: 86% / Yellow: 0% / Key: 7%

What color is #5F22EC?

#5F22EC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F22EC to RGB:

rgb(95, 34, 236)HEX to RGB Converter →

HEX to HSL

Convert #5F22EC to HSL:

hsl(258, 84%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #5F22EC to CMYK:

cmyk(60%, 86%, 0%, 7%)Color Converter →

Color Meaning and Usage

#5F22EC is a striking purple color with RGB values of 95, 34, 236 and HSL of 258°, 84%, 53%. This highly saturated hue evokes energy and excitement, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F22EC is #AFEC22, creating high-contrast pairings. For softer combinations, try analogous colors like #224BEC.

Use #5F22EC in CSS: color: #5F22EC or background-color: #5F22EC. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #5F22EC

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 2.93:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F22EC?

#5F22EC is a striking purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #5F22EC?

#5F22EC in RGB is (95, 34, 236) - 95 red, 34 green, and 236 blue.

How to use #5F22EC in CSS?

Use #5F22EC directly in your CSS properties like color or background-color.

What colors go well with #5F22EC?

#AFEC22 (complementary), #224BEC (analogous), and #4010B2 (lighter shade) work well with #5F22EC.