Red violet to HSL — Color Code

HSL

hsl(320.6, 98.7%, 31.2%)

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%)

What is the HSL code for red violet?

The CSS color red violet in HSL format is hsl(320.6, 98.7%, 31.2%). 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: hsl(320.6, 98.7%, 31.2%);
  • Background: background-color: hsl(320.6, 98.7%, 31.2%);
  • Border: border-color: hsl(320.6, 98.7%, 31.2%);

What are all the color format values for red violet?

FormatValue
HEX#9e0168
RGBrgb(158, 1, 104)
HSLhsl(320.6, 98.7%, 31.2%)
CMYKcmyk(0%, 99.4%, 34.2%, 38%)

How do I convert red violet to HSL?

Select red violet from the color name list in our color converter. The HSL value — hsl(320.6, 98.7%, 31.2%) — 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 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.