Color #2f0128
A vivid, highly saturated very dark magenta.
Conversions
#2f0128
rgb(47, 1, 40)
hsl(309.1, 95.8%, 9.4%)
hsv(309.1, 97.9%, 18.4%)
cmyk(0%, 97.9%, 14.9%, 81.6%)
lab(7.04, 27.92, -13.7)
lch(7.04, 31.1, 333.86)
oklch(21%, 0.0906, 335.41)
hwb(309.1, 0.4%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (18.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222222 · ΔE 21.8
Deuteranopia
#242721 · ΔE 29.5
Tritanopia
#2e1d1c · ΔE 16.7
Achromatopsia
#161616 · ΔE 21.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f0128;
bg-[#2f0128]
Related colors
Frequently asked questions
#2f0128 (#2f0128) is rgb(47, 1, 40) in RGB.
No, #2f0128 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 #2f0128, or check how it holds up for accessibility.