Color #52398d
A moderately saturated dark blue.
Conversions
#52398d
rgb(82, 57, 141)
hsl(257.9, 42.4%, 38.8%)
hsv(257.9, 59.6%, 55.3%)
cmyk(41.8%, 59.6%, 0%, 44.7%)
lab(30.98, 31.55, -43.02)
lch(30.98, 53.35, 306.26)
oklch(41.8%, 0.1335, 293.53)
hwb(257.9, 22.4%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (9.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#48487f · ΔE 7.2
Deuteranopia
#4a4c7b · ΔE 9
Tritanopia
#51726f · ΔE 29.4
Achromatopsia
#494949 · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #52398d;
bg-[#52398d]
Related colors
Frequently asked questions
#52398d (#52398d) is rgb(82, 57, 141) in RGB.
No, #52398d 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 #52398d, or check how it holds up for accessibility.