What is hex #522DFF color?

 
The hex code #522DFF is closest to the named color Blue Bonnet (#1C1CF0).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 32% red, 18% green and 100% blue, resulting in rgb(82, 45, 255) and hsl(251, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (68%, 82%, 0%, 0%).
In the HSV/HSB scale, #522DFF features a hue of 251°, 82% saturation, and 100% brightness.

Hex #522DFF Color Codes & Conversions

Closest Named Color
Blue Bonnet (#1C1CF0)
Hex Code #522DFF
Hex8 (RGBA Hex) #522DFFFF
RGB (CSS) rgb(82, 45, 255)
RGBA (CSS) rgba(82, 45, 255, 1)
HSL (CSS) hsl(251, 100%, 59%)
HSLA (CSS) hsla(251, 100%, 59%, 1)
HSV / HSB (251°, 82%, 100%)
CMYK Values (68%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(50.9% 0.280 277.8)
CIE-LAB (D65) 39.39, 70.37, -95.95
CIE XYZ 22.46, 10.89, 95.51
Decimal / Binary 5385727
01010010 00101101 11111111

Closest Standards & Equivalents

Closest Web Safe
#6633FF
Inverse Color
#ADD200
Complementary Color
#DAFF2D
Closest Pantone®
Pantone 2726 C
Closest RAL
RAL 5023 [Distant blue]

#522DFF Grayscale Equivalents

Average
#7F7F7F
Lightness (Desaturation)
#969696
Weighted (BT601)
#505050
Luma (BT709)
#444444

WCAG 2.1 Color Contrast & Accessibility

Check how #522DFF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #522DFF

Sample preview of readable typography on top of #522DFF.

Contrast Ratio: 6.61:1
AA Pass AAA Fail

Black Text on #522DFF

Sample preview of readable typography on top of #522DFF.

Contrast Ratio: 3.18:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #522DFF

Preview #522DFF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #522DFF;
Typography Color Preview
color: #522DFF;
Border & Shadow Preview
border: 2px solid #522DFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #522DFF;
  --color-primary-rgb: 82, 45, 255;
  --color-complementary: #DAFF2D;
}
.btn-accent {
  background-color: #522DFF;
  color: #ffffff;
}

Hex #522DFF Color Palettes

Complementary Palette

The complementary color of #522DFF is #DAFF2D. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #522DFF pairs with #2D71FF and #BB2DFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #522DFF pairs with #71FF2D and #FFBB2D, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #522DFF uses #2DFF52 and #FF522D, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #522DFF combines #FF522D, #DAFF2D and #2DDAFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #522DFF pairs with #FF2D71, #DAFF2D and #2DFFBB spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #522DFF

Tints

Tints are created by mixing #522DFF with white, producing lighter variations.

Tones

Tones are created by mixing #522DFF with gray, softening saturation.

Shades

Shades result from mixing #522DFF with black, creating deeper variations.

Hex #522DFF in Programming & CSS Frameworks

Copy the exact syntax for #522DFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #522DFF
Tailwind CSS bg-[#522DFF] text-[#522DFF]
Java (AWT) new Color(82,45,255);
Python Color("#522DFF")
.NET (C#) Color.FromArgb(255, 82,45,255);
Swift / iOS UIColor(red: 0.32, green: 0.18, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(82, 45, 255)