#512F89 Color Information
Hex color code: #512F89
#512F89 is a gentle purple color. In RGB it is (81, 47, 137), and in HSL it is (263°, 49%, 36%). It is frequently seen in web interfaces.
Shades
color: #512F89; background-color: #512F89; border-color: #512F89; box-shadow: 0 0 10px #512F89; border: 2px solid #512F89;
bg-[#512F89] text-[#512F89] border-[#512F89] shadow-[0_0_10px_512F89]
Generate Gradient
background: linear-gradient(90deg, #512F89, #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 #512F89 in the color wheel.
RGB, HSL and CMYK Values
RGB
81, 47, 137
Red: 81 / Green: 47 / Blue: 137
HSL
263°, 49%, 36%
Hue: 263° / Saturation: 49% / Lightness: 36%
CMYK
41%, 66%, 0%, 46%
Cyan: 41% / Magenta: 66% / Yellow: 0% / Key: 46%
What color is #512F89?
#512F89 is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A delicate purple tone, #512F89 has RGB (81, 47, 137) and HSL (263°, 49%, 36%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #512F89 is #66892F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F3989.
Use #512F89 in CSS: color: #512F89 or background-color: #512F89. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #512F89
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 #512F89?
#512F89 is a delicate purple color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #512F89?
#512F89 in RGB is (81, 47, 137) - 81 red, 47 green, and 137 blue.
How to use #512F89 in CSS?
Use #512F89 directly in your CSS properties like color or background-color.