Color #56286b
A moderately saturated dark purple.
Conversions
#56286b
rgb(86, 40, 107)
hsl(281.2, 45.6%, 28.8%)
hsv(281.2, 62.6%, 42%)
cmyk(19.6%, 62.6%, 0%, 58%)
lab(25.44, 33.45, -30.47)
lch(25.44, 45.25, 317.67)
oklch(37.2%, 0.1184, 313.84)
hwb(281.2, 15.7%, 58%)
Harmony colors
Accessibility
White text reads better on this background (10.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464660 · ΔE 14.5
Deuteranopia
#494c5d · ΔE 17.6
Tritanopia
#545653 · ΔE 28.9
Achromatopsia
#3c3c3c · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #56286b;
bg-[#56286b]
Related colors
Frequently asked questions
#56286b (#56286b) is rgb(86, 40, 107) in RGB.
No, #56286b 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 #56286b, or check how it holds up for accessibility.