What is the HEX code for violet blue?
The CSS color violet blue in HEX format is #510ac9. Use this value directly in CSS, SVG, and most design tools.
How do I use violet blue in CSS?
To apply violet blue in CSS:
- Text color: color: #510ac9;
- Background: background-color: #510ac9;
- Border: border-color: #510ac9;
What are all the color format values for violet blue?
| Format | Value |
|---|---|
| HEX | #510ac9 |
| RGB | rgb(81, 10, 201) |
| HSL | hsl(262.3, 90.5%, 41.4%) |
| CMYK | cmyk(59.7%, 95%, 0%, 21.2%) |
How do I convert violet blue to HEX?
Select violet blue from the color name list in our color converter. The HEX value — #510ac9 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does violet blue belong to?
violet blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 262.3°, saturation 90.5%, lightness 41.4%.
How do I create lighter and darker shades of violet blue?
Lighter variant (lightness 56.4%): #762bf4. Darker variant (lightness 26.4%): #340680. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.