#4C159E Color Information

Hex color code: #4C159E

A dynamic purple shade, #4C159E appears as (76, 21, 158) in RGB and (264°, 77%, 35%) in HSL. It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#4C159E
RGB
76, 21, 158
HSL
264°, 77%, 35%
CMYK
52%, 87%, 0%, 38%

Shades

CSS Usage
color: #4C159E;
background-color: #4C159E;
border-color: #4C159E;
box-shadow: 0 0 10px #4C159E;
border: 2px solid #4C159E;
Tailwind Usage
bg-[#4C159E]
text-[#4C159E]
border-[#4C159E]
shadow-[0_0_10px_4C159E]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4C159E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4C159E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4C159E; 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 #4C159E; background-color: #4C159E15; }

Alert / Toast

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

Link / Accent

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

a { color: #4C159E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4C159E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

76, 21, 158

Red: 76 / Green: 21 / Blue: 158

HSL

264°, 77%, 35%

Hue: 264° / Saturation: 77% / Lightness: 35%

CMYK

52%, 87%, 0%, 38%

Cyan: 52% / Magenta: 87% / Yellow: 0% / Key: 38%

What color is #4C159E?

#4C159E is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4C159E to RGB:

rgb(76, 21, 158)HEX to RGB Converter →

HEX to HSL

Convert #4C159E to HSL:

hsl(264, 77%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #4C159E to CMYK:

cmyk(52%, 87%, 0%, 38%)Color Converter →

Color Meaning and Usage

A striking purple tone, #4C159E has RGB (76, 21, 158) and HSL (264°, 77%, 35%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4C159E is #679E15, creating high-contrast pairings. For softer combinations, try analogous colors like #15229E.

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

Contrast with #4C159E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4C159E?

#4C159E is a striking purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4C159E?

#4C159E in RGB is (76, 21, 158) - 76 red, 21 green, and 158 blue.

How to use #4C159E in CSS?

Use #4C159E directly in your CSS properties like color or background-color.

What colors go well with #4C159E?

#679E15 (complementary), #15229E (analogous), and #2B0C5A (lighter shade) work well with #4C159E.