What is hex #20002C color?

 
The hex code #20002C is closest to the named color Dark Purple (#301934).
In professional design frameworks, this hue is considered a deep, muted shade. It is excellent for rich backgrounds, high-contrast typography, or sophisticated dark mode user interfaces.

From a technical standpoint, this color is composed of 13% red, 0% green and 17% blue, resulting in rgb(32, 0, 44) and hsl(284, 100%, 9%).
For print media and manufacturing layout, the CMYK equivalent is (27%, 100%, 0%, 83%).
In the HSV/HSB scale, #20002C features a hue of 284°, 100% saturation, and 17% brightness.

Hex #20002C Color Codes & Conversions

Closest Named Color
Dark Purple (#301934)
Hex Code #20002C
Hex8 (RGBA Hex) #20002CFF
RGB (CSS) rgb(32, 0, 44)
RGBA (CSS) rgba(32, 0, 44, 1)
HSL (CSS) hsl(284, 100%, 9%)
HSLA (CSS) hsla(284, 100%, 9%, 1)
HSV / HSB (284°, 100%, 17%)
CMYK Values (27%, 100%, 0%, 83%)
OKLCH (Modern CSS) oklch(18.2% 0.090 315.2)
CIE-LAB (D65) 4.42, 23.36, -21.04
CIE XYZ 1.05, 0.49, 2.42
Decimal / Binary 2097196
00100000 00000000 00101100

Closest Standards & Equivalents

Closest Web Safe
#330033
Inverse Color
#DFFFD3
Complementary Color
#0C2C00
Closest Pantone®
Pantone 5255 C
Closest RAL
RAL 5004 [Black blue]

#20002C Grayscale Equivalents

Average
#191919
Lightness (Desaturation)
#161616
Weighted (BT601)
#0F0F0F
Luma (BT709)
#0A0A0A

WCAG 2.1 Color Contrast & Accessibility

Check how #20002C complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #20002C

Sample preview of readable typography on top of #20002C.

Contrast Ratio: 19.13:1
AA Pass AAA Pass

Black Text on #20002C

Sample preview of readable typography on top of #20002C.

Contrast Ratio: 1.1:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #20002C

Preview #20002C in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #20002C;
Typography Color Preview
color: #20002C;
Border & Shadow Preview
border: 2px solid #20002C;
CSS Custom Properties & Gradient
:root {
  --color-primary: #20002C;
  --color-primary-rgb: 32, 0, 44;
  --color-complementary: #0C2C00;
}
.btn-accent {
  background-color: #20002C;
  color: #ffffff;
}

Hex #20002C Color Palettes

Complementary Palette

The complementary color of #20002C is #0C2C00. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #20002C pairs with #0A002C and #2C0022, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #20002C pairs with #002C0A and #222C00, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #20002C uses #002C20 and #2C2000, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #20002C combines #2C2000, #0C2C00 and #000C2C around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #20002C pairs with #2C0A00, #0C2C00 and #00222C spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #20002C

Tints

Tints are created by mixing #20002C with white, producing lighter variations.

Tones

Tones are created by mixing #20002C with gray, softening saturation.

Shades

Shades result from mixing #20002C with black, creating deeper variations.

Hex #20002C in Programming & CSS Frameworks

Copy the exact syntax for #20002C in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #20002C
Tailwind CSS bg-[#20002C] text-[#20002C]
Java (AWT) new Color(32,0,44);
Python Color("#20002C")
.NET (C#) Color.FromArgb(255, 32,0,44);
Swift / iOS UIColor(red: 0.13, green: 0, blue: 0.17, alpha: 1)
Kotlin / Android Color.rgb(32, 0, 44)