#32166A color

#32166A is rgb(50, 22, 106) in RGB and hsl(260, 66%, 25%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 4.3). Use white text on it (contrast 14.40:1).

#32166Aviolet
HEX#32166A
RGBrgb(50, 22, 106)
RGB percentrgb(19.6%, 8.6%, 41.6%)
HSLhsl(260, 66%, 25%)
HSV / HSBhsv(260, 79%, 42%)
CMYKcmyk(53%, 79%, 0%, 58%)
CIELAB (D65)lab(17 34.8 -43.8)

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

About #32166A

#32166A is a dark, saturated violet with a hue angle of 260°. It belongs to the purple family and reads as a cool 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#32166A
RGBrgb(50, 22, 106)
RGB percentrgb(19.6%, 8.6%, 41.6%)
HSLhsl(260, 66%, 25%)
HSV / HSBhsv(260, 79%, 42%)
CMYKcmyk(53%, 79%, 0%, 58%)
CIELAB (D65)lab(17 34.8 -43.8)
Decimal3282538
Binary00110010 00010110 01101010

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

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 #32166A

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #32166ARatioAA normalAA largeAAA normalAAA large
White text14.40:1PassPassPassPass
Black text1.46:1FailFailFailFail
White text on #32166A
Black text on #32166A
#32166A text on white
#32166A text on black

Relative luminance is 0.0229 (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
#002b6c

Deuteranopia
#002868

Tritanopia
#1f2d3f

Achromatopsia
#2a2a2a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10.3). 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
midnightblue#1919704.3
indigo#4b00826.1
navy#0000807
darkblue#00008b7.6

CSS

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

Frequently asked questions

What color is #32166A?
A dark saturated violet in the purple family. Closest CSS name: midnightblue.
What is #32166A in RGB?
rgb(50, 22, 106): red 50, green 22, blue 106.
What is the complementary color of #32166A?
#4E6A16, found by rotating the hue 180°.