What is hex #54287C color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 33% red, 16% green and 49% blue, resulting in rgb(84, 40, 124) and hsl(271, 51%, 32%).
For print media and manufacturing layout, the CMYK equivalent is (32%, 68%, 0%, 51%).
In the HSV/HSB scale, #54287C features a hue of 271°, 68% saturation, and 49% brightness.
Hex #54287C Color Codes & Conversions
| Closest Named Color | Eminence (#6C3082) |
| Hex Code | #54287C |
| Hex8 (RGBA Hex) | #54287CFF |
| RGB (CSS) | rgb(84, 40, 124) |
| RGBA (CSS) | rgba(84, 40, 124, 1) |
| HSL (CSS) | hsl(271, 51%, 32%) |
| HSLA (CSS) | hsla(271, 51%, 32%, 1) |
| HSV / HSB | (271°, 68%, 49%) |
| CMYK Values | (32%, 68%, 0%, 51%) |
| OKLCH (Modern CSS) | oklch(38.1% 0.138 304.7) |
| CIE-LAB (D65) | 26.33, 37.16, -39.91 |
| CIE XYZ | 8.05, 4.86, 19.58 |
| Decimal / Binary |
5515388
01010100 00101000 01111100 |
Closest Standards & Equivalents
| Closest Web Safe | #663366 |
| Inverse Color | #ABD783 |
| Complementary Color | #507C28 |
| Closest Pantone® | Pantone 268 C |
| Closest RAL | RAL 5002 [Ultramarine blue] |
#54287C Grayscale Equivalents
| Average | #535353 |
| Lightness (Desaturation) | #525252 |
| Weighted (BT601) | #3F3F3F |
| Luma (BT709) | #373737 |
WCAG 2.1 Color Contrast & Accessibility
Check how #54287C 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 #54287C
Sample preview of readable typography on top of #54287C.
Black Text on #54287C
Sample preview of readable typography on top of #54287C.
HTML / CSS Live Previews & Snippets for #54287C
Preview #54287C in real UI elements and copy ready-to-use CSS rules.
background-color: #54287C;
color: #54287C;
border: 2px solid #54287C;
:root {
--color-primary: #54287C;
--color-primary-rgb: 84, 40, 124;
--color-complementary: #507C28;
}
.btn-accent {
background-color: #54287C;
color: #ffffff;
}
Hex #54287C Color Palettes
Complementary Palette
The complementary color of #54287C is #507C28. 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 #54287C pairs with #2A287C and #7C287A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #54287C pairs with #287C2A and #7A7C28, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #54287C uses #287C54 and #7C5428, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #54287C combines #7C5428, #507C28 and #28507C around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #54287C pairs with #7C2A28, #507C28 and #287A7C spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #54287C
Tints
Tints are created by mixing #54287C with white, producing lighter variations.
Tones
Tones are created by mixing #54287C with gray, softening saturation.
Shades
Shades result from mixing #54287C with black, creating deeper variations.
Hex #54287C in Programming & CSS Frameworks
Copy the exact syntax for #54287C in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #54287C |
| Tailwind CSS | bg-[#54287C] text-[#54287C] |
| Java (AWT) | new Color(84,40,124); |
| Python | Color("#54287C") |
| .NET (C#) | Color.FromArgb(255, 84,40,124); |
| Swift / iOS | UIColor(red: 0.33, green: 0.16, blue: 0.49, alpha: 1) |
| Kotlin / Android | Color.rgb(84, 40, 124) |