What is hex #20003D color?

 
The hex code #20003D 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 24% blue, resulting in rgb(32, 0, 61) and hsl(271, 100%, 12%).
For print media and manufacturing layout, the CMYK equivalent is (48%, 100%, 0%, 76%).
In the HSV/HSB scale, #20003D features a hue of 271°, 100% saturation, and 24% brightness.

Hex #20003D Color Codes & Conversions

Closest Named Color
Dark Purple (#301934)
Hex Code #20003D
Hex8 (RGBA Hex) #20003DFF
RGB (CSS) rgb(32, 0, 61)
RGBA (CSS) rgba(32, 0, 61, 1)
HSL (CSS) hsl(271, 100%, 12%)
HSLA (CSS) hsla(271, 100%, 12%, 1)
HSV / HSB (271°, 100%, 24%)
CMYK Values (48%, 100%, 0%, 76%)
OKLCH (Modern CSS) oklch(20.1% 0.106 301.3)
CIE-LAB (D65) 5.82, 29.62, -31.34
CIE XYZ 1.44, 0.64, 4.46
Decimal / Binary 2097213
00100000 00000000 00111101

Closest Standards & Equivalents

Closest Web Safe
#330033
Inverse Color
#DFFFC2
Complementary Color
#1D3D00
Closest Pantone®
Pantone 2765 C
Closest RAL
RAL 5011 [Steel blue]

#20003D Grayscale Equivalents

Average
#1F1F1F
Lightness (Desaturation)
#1F1F1F
Weighted (BT601)
#111111
Luma (BT709)
#0B0B0B

WCAG 2.1 Color Contrast & Accessibility

Check how #20003D 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 #20003D

Sample preview of readable typography on top of #20003D.

Contrast Ratio: 18.6:1
AA Pass AAA Pass

Black Text on #20003D

Sample preview of readable typography on top of #20003D.

Contrast Ratio: 1.13:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #20003D

Preview #20003D in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #20003D;
Typography Color Preview
color: #20003D;
Border & Shadow Preview
border: 2px solid #20003D;
CSS Custom Properties & Gradient
:root {
  --color-primary: #20003D;
  --color-primary-rgb: 32, 0, 61;
  --color-complementary: #1D3D00;
}
.btn-accent {
  background-color: #20003D;
  color: #ffffff;
}

Hex #20003D Color Palettes

Complementary Palette

The complementary color of #20003D is #1D3D00. 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 #20003D pairs with #01003D and #3D003B, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #20003D pairs with #003D01 and #3B3D00, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #20003D uses #003D20 and #3D2000, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #20003D combines #3D2000, #1D3D00 and #001D3D around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #20003D pairs with #3D0100, #1D3D00 and #003B3D spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #20003D

Tints

Tints are created by mixing #20003D with white, producing lighter variations.

Tones

Tones are created by mixing #20003D with gray, softening saturation.

Shades

Shades result from mixing #20003D with black, creating deeper variations.

Hex #20003D in Programming & CSS Frameworks

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

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