Darkviolet to HSL — Color Code

#9400d3
Format Value
HEX #9400d3
RGB rgb(148, 0, 211)
HSL hsl(282.1, 100%, 41.4%)
CMYK cmyk(29.9%, 100%, 0%, 17.3%)
HSV hsv(282.1, 100%, 82.7%)

darkviolet color harmonies

Tints & shades of darkviolet

Tints (lighter)

#9e17d7 #a72edb #b146df #bb5de3 #c574e7 #ce8beb #d8a2ef #e2b9f3 #ecd1f7 #f5e8fb

Shades (darker)

#8700c0 #7900ad #6c0099 #5e0086 #510073 #430060 #36004d #28003a #1b0026 #0d0013

Contrast & accessibility

The quick brown fox

On white · 6.56:1 · AA

The quick brown fox

On black · 3.2:1 · AA Large

Recommended text color: #ffffff

Use darkviolet in code

CSS color: #9400d3;
SCSS $color: #9400d3;
Tailwind bg-[#9400d3]
Swift UIColor(red: 0.580, green: 0.000, blue: 0.827, alpha: 1)
Android Color.parseColor("#9400d3")
Flutter Color(0xFF9400D3)

Colors similar to darkviolet

Browse all Purple colors →

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?

FormatValue
HEX#9400d3
RGBrgb(148, 0, 211)
HSLhsl(282.1, 100%, 41.4%)
CMYKcmyk(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.