Hex Color Code #331832 — RGB & HSL Conversions
How to use the #331832 color code in HTML & CSS?
To apply the hex color #331832 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #331832; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #331832; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#331832].
What are the RGB and HSL conversion values for #331832?
In the digital sRGB color space, the hex value #331832 is converted to RGB values of Red: 51, Green: 24, and Blue: 50. When analyzed under the HSL model, its coordinates correspond to hue angle 302°, 36% saturation, and 15% lightness. This makes it visually a dark, rich color with a soft, understated pastel shade.
CMYK print code settings for #331832
When converting #331832 for CMYK printing, the color separation consists of 0% Cyan, 53% Magenta, 2% Yellow, and 80% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #331832 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #331832
Small body copy preview
Black text readability test with #331832
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #331832;
--color-rgb: rgb(51, 24, 50);
--color-hsl: hsl(302deg, 36%, 15%);