Color #2f1461
A moderately saturated dark purple.
Conversions
#2f1461
rgb(47, 20, 97)
hsl(261, 65.8%, 22.9%)
hsv(261, 79.4%, 38%)
cmyk(51.5%, 79.4%, 0%, 62%)
lab(15.32, 32.61, -40.54)
lch(15.32, 52.03, 308.81)
oklch(28.5%, 0.1259, 292.51)
hwb(261, 7.8%, 62%)
Harmony colors
Accessibility
White text reads better on this background (15.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262656 · ΔE 7.7
Deuteranopia
#272953 · ΔE 9.3
Tritanopia
#2e4b49 · ΔE 27.5
Achromatopsia
#262626 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1461;
bg-[#2f1461]
Related colors
Frequently asked questions
#2f1461 (#2f1461) is rgb(47, 20, 97) in RGB.
No, #2f1461 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 #2f1461, or check how it holds up for accessibility.