#4D338E Color Information
Hex color code: #4D338E
#4D338E is a pastel purple color. In RGB it is (77, 51, 142), and in HSL it is (257°, 47%, 38%). It is commonly used in modern UI design.
Shades
color: #4D338E; background-color: #4D338E; border-color: #4D338E; box-shadow: 0 0 10px #4D338E; border: 2px solid #4D338E;
bg-[#4D338E] text-[#4D338E] border-[#4D338E] shadow-[0_0_10px_4D338E]
Generate Gradient
background: linear-gradient(90deg, #4D338E, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #4D338E in the color wheel.
RGB, HSL and CMYK Values
RGB
77, 51, 142
Red: 77 / Green: 51 / Blue: 142
HSL
257°, 47%, 38%
Hue: 257° / Saturation: 47% / Lightness: 38%
CMYK
46%, 64%, 0%, 44%
Cyan: 46% / Magenta: 64% / Yellow: 0% / Key: 44%
What color is #4D338E?
#4D338E is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A subtle purple tone, #4D338E has RGB (77, 51, 142) and HSL (257°, 47%, 38%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #4D338E is #758E33, creating high-contrast pairings. For softer combinations, try analogous colors like #33478E.
Use #4D338E in CSS: color: #4D338E or background-color: #4D338E. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #4D338E
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #4D338E?
#4D338E is a subtle purple color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #4D338E?
#4D338E in RGB is (77, 51, 142) - 77 red, 51 green, and 142 blue.
How to use #4D338E in CSS?
Use #4D338E directly in your CSS properties like color or background-color.