What is hex #20002E color?

 
The hex code #20002E 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 18% blue, resulting in rgb(32, 0, 46) and hsl(282, 100%, 9%).
For print media and manufacturing layout, the CMYK equivalent is (30%, 100%, 0%, 82%).
In the HSV/HSB scale, #20002E features a hue of 282°, 100% saturation, and 18% brightness.

Hex #20002E Color Codes & Conversions

Closest Named Color
Dark Purple (#301934)
Hex Code #20002E
Hex8 (RGBA Hex) #20002EFF
RGB (CSS) rgb(32, 0, 46)
RGBA (CSS) rgba(32, 0, 46, 1)
HSL (CSS) hsl(282, 100%, 9%)
HSLA (CSS) hsla(282, 100%, 9%, 1)
HSV / HSB (282°, 100%, 18%)
CMYK Values (30%, 100%, 0%, 82%)
OKLCH (Modern CSS) oklch(18.4% 0.091 313.3)
CIE-LAB (D65) 4.56, 24.11, -22.33
CIE XYZ 1.09, 0.50, 2.62
Decimal / Binary 2097198
00100000 00000000 00101110

Closest Standards & Equivalents

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

#20002E Grayscale Equivalents

Average
#1A1A1A
Lightness (Desaturation)
#171717
Weighted (BT601)
#0F0F0F
Luma (BT709)
#0A0A0A

WCAG 2.1 Color Contrast & Accessibility

Check how #20002E 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 #20002E

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

Contrast Ratio: 19.08:1
AA Pass AAA Pass

Black Text on #20002E

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

Contrast Ratio: 1.1:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #20002E

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

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

Hex #20002E Color Palettes

Complementary Palette

The complementary color of #20002E is #0E2E00. 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 #20002E pairs with #09002E and #2E0025, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #20002E pairs with #002E09 and #252E00, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #20002E uses #002E20 and #2E2000, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #20002E combines #2E2000, #0E2E00 and #000E2E around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #20002E pairs with #2E0900, #0E2E00 and #00252E spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #20002E

Tints

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

Tones

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

Shades

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

Hex #20002E in Programming & CSS Frameworks

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

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