Darkviolet to HEX — Color Code

HEX

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

What is the HEX code for darkviolet?

The CSS color darkviolet in HEX format is #9400d3. 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: #9400d3;
  • Background: background-color: #9400d3;
  • Border: border-color: #9400d3;

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 HEX?

Select darkviolet from the color name list in our color converter. The HEX value — #9400d3 — 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 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.