What is the HSL code for darkviolet?
The CSS color darkviolet in HSL format is hsl(282.1, 100%, 41.4%). Use this value directly in CSS, SVG, and most design tools.
How do I use darkviolet in CSS?
To apply darkviolet in CSS:
- Text color: color: hsl(282.1, 100%, 41.4%);
- Background: background-color: hsl(282.1, 100%, 41.4%);
- Border: border-color: hsl(282.1, 100%, 41.4%);
What are all the color format values for darkviolet?
| Format | Value |
|---|---|
| HEX | #9400d3 |
| RGB | rgb(148, 0, 211) |
| HSL | hsl(282.1, 100%, 41.4%) |
| CMYK | cmyk(29.9%, 100%, 0%, 17.3%) |
How do I convert darkviolet to HSL?
Select darkviolet from the color name list in our color converter. The HSL value — hsl(282.1, 100%, 41.4%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does darkviolet belong to?
darkviolet belongs to the purple color family. It is a medium, vivid color with HSL values: hue 282.1°, saturation 100%, lightness 41.4%.
How do I create lighter and darker shades of darkviolet?
Lighter variant (lightness 56.4%): #bd21ff. Darker variant (lightness 26.4%): #5e0087. 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.