#220044 color

#220044 is rgb(34, 0, 68) in RGB and hsl(270, 100%, 13%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 9.6). Use white text on it (contrast 18.24:1).

#220044purple
HEX#220044
Short HEX#204
RGBrgb(34, 0, 68)
RGB percentrgb(13.3%, 0%, 26.7%)
HSLhsl(270, 100%, 13%)
HSV / HSBhsv(270, 100%, 27%)
CMYKcmyk(50%, 100%, 0%, 73%)

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

About #220044

#220044 is a dark, vivid purple with a hue angle of 270°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 68 (27%) and green the weakest at 0 (0%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#220044
Short HEX#204
RGBrgb(34, 0, 68)
RGB percentrgb(13.3%, 0%, 26.7%)
HSLhsl(270, 100%, 13%)
HSV / HSBhsv(270, 100%, 27%)
CMYKcmyk(50%, 100%, 0%, 73%)
CIELAB (D65)lab(6.8 32.4 -34.7)
Decimal2228292
Binary00100010 00000000 01000100

HEX 22 00 44 → 34, 0, 68 (each pair is a base-16 number: 2×16 + 2 = 34)

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 #220044

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #220044RatioAA normalAA largeAAA normalAAA large
White text18.24:1PassPassPassPass
Black text1.15:1FailFailFailFail
White text on #220044
Black text on #220044
#220044 text on white
#220044 text on black

Relative luminance is 0.0076 (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
#001546

Deuteranopia
#001443

Tritanopia
#191524

Achromatopsia
#151515

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 10). 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#1919709.6
navy#00008010.8
indigo#4b008211.4
darkblue#00008b12.2

Nearby colors

CSS

.element {
  color: #220044;
  background-color: rgb(34, 0, 68);
  border: 1px solid hsl(270, 100%, 13%);
  box-shadow: 0 2px 8px rgb(34 0 68 / 50%);
}
:root { --brand: #220044; }

Frequently asked questions

What color is #220044?
A dark vivid purple in the purple family. Closest CSS name: midnightblue.
What is #220044 in RGB?
rgb(34, 0, 68): red 34, green 0, blue 68.
What is the complementary color of #220044?
#224400, found by rotating the hue 180°.