Color #3a275f
A moderately saturated dark purple.
Conversions
#3a275f
rgb(58, 39, 95)
hsl(260.4, 41.8%, 26.3%)
hsv(260.4, 58.9%, 37.3%)
cmyk(38.9%, 58.9%, 0%, 62.7%)
lab(20.74, 23, -30.36)
lch(20.74, 38.09, 307.15)
oklch(32.6%, 0.0961, 296.32)
hwb(260.4, 15.3%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (12.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#333355 · ΔE 7.4
Deuteranopia
#343553 · ΔE 8.7
Tritanopia
#394d4b · ΔE 25.1
Achromatopsia
#323232 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a275f;
bg-[#3a275f]
Related colors
Frequently asked questions
#3a275f (#3a275f) is rgb(58, 39, 95) in RGB.
No, #3a275f 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 #3a275f, or check how it holds up for accessibility.