What is hex #20003F color?
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 25% blue, resulting in rgb(32, 0, 63) and hsl(270, 100%, 12%).
For print media and manufacturing layout, the CMYK equivalent is (49%, 100%, 0%, 75%).
In the HSV/HSB scale, #20003F features a hue of 270°, 100% saturation, and 25% brightness.
Hex #20003F Color Codes & Conversions
| Closest Named Color | Dark Purple (#301934) |
| Hex Code | #20003F |
| Hex8 (RGBA Hex) | #20003FFF |
| RGB (CSS) | rgb(32, 0, 63) |
| RGBA (CSS) | rgba(32, 0, 63, 1) |
| HSL (CSS) | hsl(270, 100%, 12%) |
| HSLA (CSS) | hsla(270, 100%, 12%, 1) |
| HSV / HSB | (270°, 100%, 25%) |
| CMYK Values | (49%, 100%, 0%, 75%) |
| OKLCH (Modern CSS) | oklch(20.3% 0.108 300.0) |
| CIE-LAB (D65) | 6.02, 30.32, -32.46 |
| CIE XYZ | 1.49, 0.67, 4.75 |
| Decimal / Binary |
2097215
00100000 00000000 00111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #20003F 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 #20003F
Sample preview of readable typography on top of #20003F.
Black Text on #20003F
Sample preview of readable typography on top of #20003F.
HTML / CSS Live Previews & Snippets for #20003F
Preview #20003F in real UI elements and copy ready-to-use CSS rules.
background-color: #20003F;
color: #20003F;
border: 2px solid #20003F;
:root {
--color-primary: #20003F;
--color-primary-rgb: 32, 0, 63;
--color-complementary: #1F3F00;
}
.btn-accent {
background-color: #20003F;
color: #ffffff;
}
Hex #20003F Color Palettes
Complementary Palette
The complementary color of #20003F is #1F3F00. 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 #20003F pairs with #00003F and #3F003E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #20003F pairs with #003F00 and #3E3F00, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #20003F uses #003F20 and #3F2000, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #20003F combines #3F2000, #1F3F00 and #001F3F around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #20003F pairs with #3F0000, #1F3F00 and #003E3F spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #20003F
Tints
Tints are created by mixing #20003F with white, producing lighter variations.
Tones
Tones are created by mixing #20003F with gray, softening saturation.
Shades
Shades result from mixing #20003F with black, creating deeper variations.
Hex #20003F in Programming & CSS Frameworks
Copy the exact syntax for #20003F in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #20003F |
| Tailwind CSS | bg-[#20003F] text-[#20003F] |
| Java (AWT) | new Color(32,0,63); |
| Python | Color("#20003F") |
| .NET (C#) | Color.FromArgb(255, 32,0,63); |
| Swift / iOS | UIColor(red: 0.13, green: 0, blue: 0.25, alpha: 1) |
| Kotlin / Android | Color.rgb(32, 0, 63) |