What is hex #5D287C color?

 
The hex code #5D287C is closest to the named color Eminence (#6C3082).
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 36% red, 16% green and 49% blue, resulting in rgb(93, 40, 124) and hsl(278, 51%, 32%).
For print media and manufacturing layout, the CMYK equivalent is (25%, 68%, 0%, 51%).
In the HSV/HSB scale, #5D287C features a hue of 278°, 68% saturation, and 49% brightness.

Hex #5D287C Color Codes & Conversions

Closest Named Color
Eminence (#6C3082)
Hex Code #5D287C
Hex8 (RGBA Hex) #5D287CFF
RGB (CSS) rgb(93, 40, 124)
RGBA (CSS) rgba(93, 40, 124, 1)
HSL (CSS) hsl(278, 51%, 32%)
HSLA (CSS) hsla(278, 51%, 32%, 1)
HSV / HSB (278°, 68%, 49%)
CMYK Values (25%, 68%, 0%, 51%)
OKLCH (Modern CSS) oklch(39.3% 0.140 310.5)
CIE-LAB (D65) 27.57, 39.32, -37.84
CIE XYZ 8.91, 5.30, 19.62
Decimal / Binary 6105212
01011101 00101000 01111100

Closest Standards & Equivalents

Closest Web Safe
#663366
Inverse Color
#A2D783
Complementary Color
#477C28
Closest Pantone®
Pantone 268 C
Closest RAL
RAL 4006 [Traffic purple]

#5D287C Grayscale Equivalents

Average
#565656
Lightness (Desaturation)
#525252
Weighted (BT601)
#414141
Luma (BT709)
#393939

WCAG 2.1 Color Contrast & Accessibility

Check how #5D287C 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 #5D287C

Sample preview of readable typography on top of #5D287C.

Contrast Ratio: 10.19:1
AA Pass AAA Pass

Black Text on #5D287C

Sample preview of readable typography on top of #5D287C.

Contrast Ratio: 2.06:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #5D287C

Preview #5D287C in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #5D287C;
Typography Color Preview
color: #5D287C;
Border & Shadow Preview
border: 2px solid #5D287C;
CSS Custom Properties & Gradient
:root {
  --color-primary: #5D287C;
  --color-primary-rgb: 93, 40, 124;
  --color-complementary: #477C28;
}
.btn-accent {
  background-color: #5D287C;
  color: #ffffff;
}

Hex #5D287C Color Palettes

Complementary Palette

The complementary color of #5D287C is #477C28. 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 #5D287C pairs with #33287C and #7C2871, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #5D287C pairs with #287C33 and #717C28, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #5D287C uses #287C5D and #7C5D28, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #5D287C combines #7C5D28, #477C28 and #28477C around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #5D287C pairs with #7C3328, #477C28 and #28717C spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #5D287C

Tints

Tints are created by mixing #5D287C with white, producing lighter variations.

Tones

Tones are created by mixing #5D287C with gray, softening saturation.

Shades

Shades result from mixing #5D287C with black, creating deeper variations.

Hex #5D287C in Programming & CSS Frameworks

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

HTML / CSS #5D287C
Tailwind CSS bg-[#5D287C] text-[#5D287C]
Java (AWT) new Color(93,40,124);
Python Color("#5D287C")
.NET (C#) Color.FromArgb(255, 93,40,124);
Swift / iOS UIColor(red: 0.36, green: 0.16, blue: 0.49, alpha: 1)
Kotlin / Android Color.rgb(93, 40, 124)