Violet blue to HSL — Color Code

#510ac9
Format Value
HEX #510ac9
RGB rgb(81, 10, 201)
HSL hsl(262.3, 90.5%, 41.4%)
CMYK cmyk(59.7%, 95%, 0%, 21.2%)
HSV hsv(262.3, 95%, 78.8%)

violet blue color harmonies

Tints & shades of violet blue

Tints (lighter)

#6120ce #7137d3 #804dd8 #9063dd #a079e2 #b090e6 #c0a6eb #d0bcf0 #dfd2f5 #efe9fa

Shades (darker)

#4a09b7 #4208a4 #3b0792 #340680 #2c056e #25055b #1d0449 #160337 #0f0225 #070112

Contrast & accessibility

The quick brown fox

On white · 9.39:1 · AAA

The quick brown fox

On black · 2.24:1 · Fail

Recommended text color: #ffffff

Use violet blue in code

CSS color: #510ac9;
SCSS $color: #510ac9;
Tailwind bg-[#510ac9]
Swift UIColor(red: 0.318, green: 0.039, blue: 0.788, alpha: 1)
Android Color.parseColor("#510ac9")
Flutter Color(0xFF510AC9)

Colors similar to violet blue

Browse all Blue colors →

What is the HSL code for violet blue?

The CSS color violet blue in HSL format is hsl(262.3, 90.5%, 41.4%). Use this value directly in CSS, SVG, and most design tools.

How do I use violet blue in CSS?

To apply violet blue in CSS:

  • Text color: color: hsl(262.3, 90.5%, 41.4%);
  • Background: background-color: hsl(262.3, 90.5%, 41.4%);
  • Border: border-color: hsl(262.3, 90.5%, 41.4%);

What are all the color format values for violet blue?

FormatValue
HEX#510ac9
RGBrgb(81, 10, 201)
HSLhsl(262.3, 90.5%, 41.4%)
CMYKcmyk(59.7%, 95%, 0%, 21.2%)

How do I convert violet blue to HSL?

Select violet blue from the color name list in our color converter. The HSL value — hsl(262.3, 90.5%, 41.4%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does violet blue belong to?

violet blue belongs to the blue color family. It is a medium, vivid color with HSL values: hue 262.3°, saturation 90.5%, lightness 41.4%.

How do I create lighter and darker shades of violet blue?

Lighter variant (lightness 56.4%): #762bf4. Darker variant (lightness 26.4%): #340680. 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.