Color #6c5fa2
A muted medium blue.
Conversions
#6c5fa2
rgb(108, 95, 162)
hsl(251.6, 26.5%, 50.4%)
hsv(251.6, 41.4%, 63.5%)
cmyk(33.3%, 41.4%, 0%, 36.5%)
lab(44.21, 21.08, -34.48)
lch(44.21, 40.41, 301.44)
oklch(52.7%, 0.1038, 291.35)
hwb(251.6, 37.3%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (5.53:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#676795 · ΔE 5.1
Deuteranopia
#676892 · ΔE 6.1
Tritanopia
#6b8a87 · ΔE 27.5
Achromatopsia
#686868 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6c5fa2;
bg-[#6c5fa2]
Related colors
Frequently asked questions
#6c5fa2 (#6c5fa2) is rgb(108, 95, 162) in RGB.
No, #6c5fa2 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 #6c5fa2, or check how it holds up for accessibility.