Color #301a2a
A muted very dark magenta.
Conversions
#301a2a
rgb(48, 26, 42)
hsl(316.4, 29.7%, 14.5%)
hsv(316.4, 45.8%, 18.8%)
cmyk(0%, 45.8%, 12.5%, 81.2%)
lab(12.83, 13.93, -6.23)
lch(12.83, 15.26, 335.9)
oklch(25.4%, 0.0437, 337.54)
hwb(316.4, 10.2%, 81.2%)
Harmony colors
Accessibility
White text reads better on this background (16.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282827 · ΔE 15.6
Deuteranopia
#292b26 · ΔE 20.1
Tritanopia
#2f2423 · ΔE 10.5
Achromatopsia
#212121 · ΔE 14.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #301a2a;
bg-[#301a2a]
Related colors
Frequently asked questions
#301a2a (#301a2a) is rgb(48, 26, 42) in RGB.
No, #301a2a 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 #301a2a, or check how it holds up for accessibility.