#6A166A color

#6A166A is rgb(106, 22, 106) in RGB and hsl(300, 66%, 25%) in HSL. The closest CSS named color is purple (#800080, ΔE 4.9). Use white text on it (contrast 10.85:1).

#6A166Amagenta
HEX#6A166A
RGBrgb(106, 22, 106)
RGB percentrgb(41.6%, 8.6%, 41.6%)
HSLhsl(300, 66%, 25%)
HSV / HSBhsv(300, 79%, 42%)
CMYKcmyk(0%, 79%, 0%, 58%)
CIELAB (D65)lab(25.8 46.3 -29)

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

About #6A166A

#6A166A is a dark, saturated magenta with a hue angle of 300°. It belongs to the pink & magenta family and reads as a warm color. In the RGB model red 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#6A166A
RGBrgb(106, 22, 106)
RGB percentrgb(41.6%, 8.6%, 41.6%)
HSLhsl(300, 66%, 25%)
HSV / HSBhsv(300, 79%, 42%)
CMYKcmyk(0%, 79%, 0%, 58%)
CIELAB (D65)lab(25.8 46.3 -29)
Decimal6952554
Binary01101010 00010110 01101010

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

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 #6A166A

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #6A166ARatioAA normalAA largeAAA normalAAA large
White text10.85:1PassPassPassPass
Black text1.94:1FailFailFailFail
White text on #6A166A
Black text on #6A166A
#6A166A text on white
#6A166A text on black

Relative luminance is 0.0468 (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
#03366c

Deuteranopia
#2e4168

Tritanopia
#6e243f

Achromatopsia
#3d3d3d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 22.2). 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
purple#8000804.9
darkmagenta#8b008b7.1
indigo#4b008210.1
rebeccapurple#66339910.5

CSS

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

Frequently asked questions

What color is #6A166A?
A dark saturated magenta in the pink & magenta family. Closest CSS name: purple.
What is #6A166A in RGB?
rgb(106, 22, 106): red 106, green 22, blue 106.
What is the complementary color of #6A166A?
#166A16, found by rotating the hue 180°.