Color #4a1266
A vivid, highly saturated dark purple.
Conversions
#4a1266
rgb(74, 18, 102)
hsl(280, 70%, 23.5%)
hsv(280, 82.4%, 40%)
cmyk(27.5%, 82.4%, 0%, 60%)
lab(19.42, 39.98, -36.98)
lch(19.42, 54.46, 317.23)
oklch(32.3%, 0.1392, 311.15)
hwb(280, 7.1%, 60%)
Harmony colors
Accessibility
White text reads better on this background (13.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#39395a · ΔE 14.7
Deuteranopia
#3c3f57 · ΔE 17.3
Tritanopia
#484f4c · ΔE 27.3
Achromatopsia
#2f2f2f · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a1266;
bg-[#4a1266]
Related colors
Frequently asked questions
#4a1266 (#4a1266) is rgb(74, 18, 102) in RGB.
No, #4a1266 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 #4a1266, or check how it holds up for accessibility.