#220033 color

#220033 is rgb(34, 0, 51) in RGB and hsl(280, 100%, 10%) in HSL. The closest CSS named color is midnightblue (#191970, ΔE 13.1). Use white text on it (contrast 18.82:1).

#220033magenta
HEX#220033
Short HEX#203
RGBrgb(34, 0, 51)
RGB percentrgb(13.3%, 0%, 20%)
HSLhsl(280, 100%, 10%)
HSV / HSBhsv(280, 100%, 20%)
CMYKcmyk(33%, 100%, 0%, 80%)

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

About #220033

#220033 is a very dark, vivid 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 51 (20%) 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#220033
Short HEX#203
RGBrgb(34, 0, 51)
RGB percentrgb(13.3%, 0%, 20%)
HSLhsl(280, 100%, 10%)
HSV / HSBhsv(280, 100%, 20%)
CMYKcmyk(33%, 100%, 0%, 80%)
CIELAB (D65)lab(5.2 26.7 -25)
Decimal2228275
Binary00100010 00000000 00110011

HEX 22 00 33 → 34, 0, 51 (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 #220033

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #220033RatioAA normalAA largeAAA normalAAA large
White text18.82:1PassPassPassPass
Black text1.12:1FailFailFailFail
White text on #220033
Black text on #220033
#220033 text on white
#220033 text on black

Relative luminance is 0.0058 (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
#001034

Deuteranopia
#001232

Tritanopia
#200c1a

Achromatopsia
#111111

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 13). 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#19197013.1
indigo#4b008214.7
navy#00008014.9
darkblue#00008b16.2

Nearby colors

CSS

.element {
  color: #220033;
  background-color: rgb(34, 0, 51);
  border: 1px solid hsl(280, 100%, 10%);
  box-shadow: 0 2px 8px rgb(34 0 51 / 50%);
}
:root { --brand: #220033; }

Frequently asked questions

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