What is hex #511CFF color?
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, 11% green and 100% blue, resulting in rgb(81, 28, 255) and hsl(254, 100%, 55%).
For print media and manufacturing layout, the CMYK equivalent is (68%, 89%, 0%, 0%).
In the HSV/HSB scale, #511CFF features a hue of 254°, 89% saturation, and 100% brightness.
Hex #511CFF Color Codes & Conversions
| Closest Named Color | Electric Ultramarine (#3F00FF) |
| Hex Code | #511CFF |
| Hex8 (RGBA Hex) | #511CFFFF |
| RGB (CSS) | rgb(81, 28, 255) |
| RGBA (CSS) | rgba(81, 28, 255, 1) |
| HSL (CSS) | hsl(254, 100%, 55%) |
| HSLA (CSS) | hsla(254, 100%, 55%, 1) |
| HSV / HSB | (254°, 89%, 100%) |
| CMYK Values | (68%, 89%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(49.6% 0.289 278.2) |
| CIE-LAB (D65) | 37.48, 75.80, -99.13 |
| CIE XYZ | 21.85, 9.80, 95.33 |
| Decimal / Binary |
5315839
01010001 00011100 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #511CFF 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 #511CFF
Sample preview of readable typography on top of #511CFF.
Black Text on #511CFF
Sample preview of readable typography on top of #511CFF.
HTML / CSS Live Previews & Snippets for #511CFF
Preview #511CFF in real UI elements and copy ready-to-use CSS rules.
background-color: #511CFF;
color: #511CFF;
border: 2px solid #511CFF;
:root {
--color-primary: #511CFF;
--color-primary-rgb: 81, 28, 255;
--color-complementary: #CAFF1C;
}
.btn-accent {
background-color: #511CFF;
color: #ffffff;
}
Hex #511CFF Color Palettes
Complementary Palette
The complementary color of #511CFF is #CAFF1C. 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 #511CFF pairs with #1C58FF and #C21CFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #511CFF pairs with #58FF1C and #FFC21C, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #511CFF uses #1CFF51 and #FF511C, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #511CFF combines #FF511C, #CAFF1C and #1CCAFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #511CFF pairs with #FF1C58, #CAFF1C and #1CFFC2 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #511CFF
Tints
Tints are created by mixing #511CFF with white, producing lighter variations.
Tones
Tones are created by mixing #511CFF with gray, softening saturation.
Shades
Shades result from mixing #511CFF with black, creating deeper variations.
Hex #511CFF in Programming & CSS Frameworks
Copy the exact syntax for #511CFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #511CFF |
| Tailwind CSS | bg-[#511CFF] text-[#511CFF] |
| Java (AWT) | new Color(81,28,255); |
| Python | Color("#511CFF") |
| .NET (C#) | Color.FromArgb(255, 81,28,255); |
| Swift / iOS | UIColor(red: 0.32, green: 0.11, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(81, 28, 255) |