#4E166A color

#4E166A is rgb(78, 22, 106) in RGB and hsl(280, 66%, 25%) in HSL. The closest CSS named color is indigo (#4b0082, ΔE 5.5). Use white text on it (contrast 12.75:1).

#4E166Amagenta
HEX#4E166A
RGBrgb(78, 22, 106)
RGB percentrgb(30.6%, 8.6%, 41.6%)
HSLhsl(280, 66%, 25%)
HSV / HSBhsv(280, 79%, 42%)
CMYKcmyk(26%, 79%, 0%, 58%)
CIELAB (D65)lab(21 40.1 -37.1)

Edit in the color converter → · Check contrast → · Shades →

About #4E166A

#4E166A is a dark, saturated magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 106 (42%) and green the weakest at 22 (9%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#4E166A
RGBrgb(78, 22, 106)
RGB percentrgb(30.6%, 8.6%, 41.6%)
HSLhsl(280, 66%, 25%)
HSV / HSBhsv(280, 79%, 42%)
CMYKcmyk(26%, 79%, 0%, 58%)
CIELAB (D65)lab(21 40.1 -37.1)
Decimal5117546
Binary01001110 00010110 01101010

HEX 4E 16 6A → 78, 22, 106 (each pair is a base-16 number: 4×16 + E = 78)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #4E166A

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #4E166ARatioAA normalAA largeAAA normalAAA large
White text12.75:1PassPassPassPass
Black text1.65:1FailFailFailFail
White text on #4E166A
Black text on #4E166A
#4E166A text on white
#4E166A text on black

Relative luminance is 0.0323 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#00306c

Deuteranopia
#073368

Tritanopia
#4a2a3f

Achromatopsia
#323232

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 18.4). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
indigo#4b00825.5
purple#8000809.5
rebeccapurple#6633999.8
midnightblue#19197010

CSS

.element {
  color: #4e166a;
  background-color: rgb(78, 22, 106);
  border: 1px solid hsl(280, 66%, 25%);
  box-shadow: 0 2px 8px rgb(78 22 106 / 50%);
}
:root { --brand: #4e166a; }

Frequently asked questions

What color is #4E166A?
A dark saturated magenta in the purple family. Closest CSS name: indigo.
What is #4E166A in RGB?
rgb(78, 22, 106): red 78, green 22, blue 106.
What is the complementary color of #4E166A?
#326A16, found by rotating the hue 180°.