Color #3a0152
A vivid, highly saturated very dark purple.
Conversions
#3a0152
rgb(58, 1, 82)
hsl(282.2, 97.6%, 16.3%)
hsv(282.2, 98.8%, 32.2%)
cmyk(29.3%, 98.8%, 0%, 67.8%)
lab(12.8, 38.62, -34.47)
lch(12.8, 51.77, 318.25)
oklch(26.6%, 0.1316, 311.92)
hwb(282.2, 0.4%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (16.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b48 · ΔE 14.8
Deuteranopia
#2d3045 · ΔE 17.3
Tritanopia
#383e3b · ΔE 26.8
Achromatopsia
#212121 · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a0152;
bg-[#3a0152]
Related colors
Frequently asked questions
#3a0152 (#3a0152) is rgb(58, 1, 82) in RGB.
No, #3a0152 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #3a0152, or check how it holds up for accessibility.