What is hex #4E3052 color?
In professional design frameworks, this hue is considered a deep, muted shade. It is excellent for rich backgrounds, high-contrast typography, or sophisticated dark mode user interfaces.
From a technical standpoint, this color is composed of 31% red, 19% green and 32% blue, resulting in rgb(78, 48, 82) and hsl(293, 26%, 25%).
For print media and manufacturing layout, the CMYK equivalent is (5%, 41%, 0%, 68%).
In the HSV/HSB scale, #4E3052 features a hue of 293°, 41% saturation, and 32% brightness.
Hex #4E3052 Color Codes & Conversions
| Closest Named Color | Dark Byzantium (#5D3954) |
| Hex Code | #4E3052 |
| Hex8 (RGBA Hex) | #4E3052FF |
| RGB (CSS) | rgb(78, 48, 82) |
| RGBA (CSS) | rgba(78, 48, 82, 1) |
| HSL (CSS) | hsl(293, 26%, 25%) |
| HSLA (CSS) | hsla(293, 26%, 25%, 1) |
| HSV / HSB | (293°, 41%, 32%) |
| CMYK Values | (5%, 41%, 0%, 68%) |
| OKLCH (Modern CSS) | oklch(36.0% 0.069 322.6) |
| CIE-LAB (D65) | 24.77, 20.21, -15.24 |
| CIE XYZ | 5.72, 4.34, 8.52 |
| Decimal / Binary |
5124178
01001110 00110000 01010010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #4E3052 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 #4E3052
Sample preview of readable typography on top of #4E3052.
Black Text on #4E3052
Sample preview of readable typography on top of #4E3052.
HTML / CSS Live Previews & Snippets for #4E3052
Preview #4E3052 in real UI elements and copy ready-to-use CSS rules.
background-color: #4E3052;
color: #4E3052;
border: 2px solid #4E3052;
:root {
--color-primary: #4E3052;
--color-primary-rgb: 78, 48, 82;
--color-complementary: #345230;
}
.btn-accent {
background-color: #4E3052;
color: #ffffff;
}
Hex #4E3052 Color Palettes
Complementary Palette
The complementary color of #4E3052 is #345230. 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 #4E3052 pairs with #3D3052 and #523045, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #4E3052 pairs with #30523D and #455230, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #4E3052 uses #30524E and #524E30, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #4E3052 combines #524E30, #345230 and #303452 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #4E3052 pairs with #523D30, #345230 and #304552 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #4E3052
Tints
Tints are created by mixing #4E3052 with white, producing lighter variations.
Tones
Tones are created by mixing #4E3052 with gray, softening saturation.
Shades
Shades result from mixing #4E3052 with black, creating deeper variations.
Hex #4E3052 in Programming & CSS Frameworks
Copy the exact syntax for #4E3052 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #4E3052 |
| Tailwind CSS | bg-[#4E3052] text-[#4E3052] |
| Java (AWT) | new Color(78,48,82); |
| Python | Color("#4E3052") |
| .NET (C#) | Color.FromArgb(255, 78,48,82); |
| Swift / iOS | UIColor(red: 0.31, green: 0.19, blue: 0.32, alpha: 1) |
| Kotlin / Android | Color.rgb(78, 48, 82) |