Violet blue Color — HEX, RGB, HSL & CMYK Codes

#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 HEX code for violet blue?

The CSS color violet blue in HEX format is #510ac9. 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: #510ac9;
  • Background: background-color: #510ac9;
  • Border: border-color: #510ac9;

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

Select violet blue from the color name list in our color converter. The HEX value — #510ac9 — 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 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.