What is hex #5E287C 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 37% red, 16% green and 49% blue, resulting in rgb(94, 40, 124) and hsl(279, 51%, 32%).
For print media and manufacturing layout, the CMYK equivalent is (24%, 68%, 0%, 51%).
In the HSV/HSB scale, #5E287C features a hue of 279°, 68% saturation, and 49% brightness.
Hex #5E287C Color Codes & Conversions
| Closest Named Color | Eminence (#6C3082) |
| Hex Code | #5E287C |
| Hex8 (RGBA Hex) | #5E287CFF |
| RGB (CSS) | rgb(94, 40, 124) |
| RGBA (CSS) | rgba(94, 40, 124, 1) |
| HSL (CSS) | hsl(279, 51%, 32%) |
| HSLA (CSS) | hsla(279, 51%, 32%, 1) |
| HSV / HSB | (279°, 68%, 49%) |
| CMYK Values | (24%, 68%, 0%, 51%) |
| OKLCH (Modern CSS) | oklch(39.4% 0.141 311.2) |
| CIE-LAB (D65) | 27.72, 39.57, -37.60 |
| CIE XYZ | 9.01, 5.35, 19.62 |
| Decimal / Binary |
6170748
01011110 00101000 01111100 |
Closest Standards & Equivalents
| Closest Web Safe | #663366 |
| Inverse Color | #A1D783 |
| Complementary Color | #467C28 |
| Closest Pantone® | Pantone 268 C |
| Closest RAL | RAL 4006 [Traffic purple] |
#5E287C Grayscale Equivalents
| Average | #565656 |
| Lightness (Desaturation) | #525252 |
| Weighted (BT601) | #424242 |
| Luma (BT709) | #3A3A3A |
WCAG 2.1 Color Contrast & Accessibility
Check how #5E287C 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 #5E287C
Sample preview of readable typography on top of #5E287C.
Black Text on #5E287C
Sample preview of readable typography on top of #5E287C.
HTML / CSS Live Previews & Snippets for #5E287C
Preview #5E287C in real UI elements and copy ready-to-use CSS rules.
background-color: #5E287C;
color: #5E287C;
border: 2px solid #5E287C;
:root {
--color-primary: #5E287C;
--color-primary-rgb: 94, 40, 124;
--color-complementary: #467C28;
}
.btn-accent {
background-color: #5E287C;
color: #ffffff;
}
Hex #5E287C Color Palettes
Complementary Palette
The complementary color of #5E287C is #467C28. 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 #5E287C pairs with #34287C and #7C2870, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #5E287C pairs with #287C34 and #707C28, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #5E287C uses #287C5E and #7C5E28, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #5E287C combines #7C5E28, #467C28 and #28467C around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #5E287C pairs with #7C3428, #467C28 and #28707C spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #5E287C
Tints
Tints are created by mixing #5E287C with white, producing lighter variations.
Tones
Tones are created by mixing #5E287C with gray, softening saturation.
Shades
Shades result from mixing #5E287C with black, creating deeper variations.
Hex #5E287C in Programming & CSS Frameworks
Copy the exact syntax for #5E287C in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #5E287C |
| Tailwind CSS | bg-[#5E287C] text-[#5E287C] |
| Java (AWT) | new Color(94,40,124); |
| Python | Color("#5E287C") |
| .NET (C#) | Color.FromArgb(255, 94,40,124); |
| Swift / iOS | UIColor(red: 0.37, green: 0.16, blue: 0.49, alpha: 1) |
| Kotlin / Android | Color.rgb(94, 40, 124) |