What is the HEX code for red violet?
The CSS color red violet in HEX format is #9e0168. Use this value directly in CSS, SVG, and most design tools.
How do I use red violet in CSS?
To apply red violet in CSS:
- Text color: color: #9e0168;
- Background: background-color: #9e0168;
- Border: border-color: #9e0168;
What are all the color format values for red violet?
| Format | Value |
|---|---|
| HEX | #9e0168 |
| RGB | rgb(158, 1, 104) |
| HSL | hsl(320.6, 98.7%, 31.2%) |
| CMYK | cmyk(0%, 99.4%, 34.2%, 38%) |
How do I convert red violet to HEX?
Select red violet from the color name list in our color converter. The HEX value — #9e0168 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does red violet belong to?
red violet belongs to the pink color family. It is a medium, vivid color with HSL values: hue 320.6°, saturation 98.7%, lightness 31.2%.
How do I create lighter and darker shades of red violet?
Lighter variant (lightness 46.2%): #ea029a. Darker variant (lightness 16.2%): #520136. 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.