What is the HSL code for royal purple?
The CSS color royal purple in HSL format is hsl(280.9, 100%, 21.6%). Use this value directly in CSS, SVG, and most design tools.
How do I use royal purple in CSS?
To apply royal purple in CSS:
- Text color: color: hsl(280.9, 100%, 21.6%);
- Background: background-color: hsl(280.9, 100%, 21.6%);
- Border: border-color: hsl(280.9, 100%, 21.6%);
What are all the color format values for royal purple?
| Format | Value |
|---|---|
| HEX | #4b006e |
| RGB | rgb(75, 0, 110) |
| HSL | hsl(280.9, 100%, 21.6%) |
| CMYK | cmyk(31.8%, 100%, 0%, 56.9%) |
How do I convert royal purple to HSL?
Select royal purple from the color name list in our color converter. The HSL value — hsl(280.9, 100%, 21.6%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does royal purple belong to?
royal purple belongs to the purple color family. It is a dark, vivid color with HSL values: hue 280.9°, saturation 100%, lightness 21.6%.
How do I create lighter and darker shades of royal purple?
Lighter variant (lightness 36.6%): #7f00bb. Darker variant (lightness 6.600000000000001%): #170022. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HSL used for?
HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.