Color #6a5fa2
A muted medium blue.
Conversions
#6a5fa2
rgb(106, 95, 162)
hsl(249.9, 26.5%, 50.4%)
hsv(249.9, 41.4%, 63.5%)
cmyk(34.6%, 41.4%, 0%, 36.5%)
lab(44.03, 20.5, -34.77)
lch(44.03, 40.36, 300.52)
oklch(52.6%, 0.1038, 289.88)
hwb(249.9, 37.3%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (5.57:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#656595 · ΔE 4.4
Deuteranopia
#666792 · ΔE 5.6
Tritanopia
#698a87 · ΔE 27.6
Achromatopsia
#686868 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6a5fa2;
bg-[#6a5fa2]
Related colors
Frequently asked questions
#6a5fa2 (#6a5fa2) is rgb(106, 95, 162) in RGB.
No, #6a5fa2 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 #6a5fa2, or check how it holds up for accessibility.