Color #5a306a
A muted dark purple.
Conversions
#5a306a
rgb(90, 48, 106)
hsl(283.4, 37.7%, 30.2%)
hsv(283.4, 54.7%, 41.6%)
cmyk(15.1%, 54.7%, 0%, 58.4%)
lab(27.65, 29.82, -26.27)
lch(27.65, 39.74, 318.62)
oklch(38.9%, 0.1052, 315.96)
hwb(283.4, 18.8%, 58.4%)
Harmony colors
Accessibility
White text reads better on this background (10.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b60 · ΔE 14.9
Deuteranopia
#4d505d · ΔE 18.2
Tritanopia
#585754 · ΔE 26.2
Achromatopsia
#414141 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a306a;
bg-[#5a306a]
Related colors
Frequently asked questions
#5a306a (#5a306a) is rgb(90, 48, 106) in RGB.
No, #5a306a 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 #5a306a, or check how it holds up for accessibility.