Color #281321
A muted very dark magenta.
Conversions
#281321
rgb(40, 19, 33)
hsl(320, 35.6%, 11.6%)
hsv(320, 52.5%, 15.7%)
cmyk(0%, 52.5%, 17.5%, 84.3%)
lab(9.21, 13.38, -5.15)
lch(9.21, 14.34, 338.95)
oklch(22.3%, 0.0415, 340.74)
hwb(320, 7.5%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (17.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21201e · ΔE 15.1
Deuteranopia
#22231d · ΔE 19.6
Tritanopia
#271c1b · ΔE 9.7
Achromatopsia
#1a1a1a · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281321;
bg-[#281321]
Related colors
Frequently asked questions
#281321 (#281321) is rgb(40, 19, 33) in RGB.
No, #281321 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #281321, or check how it holds up for accessibility.