Color #6b4fb4
A moderately saturated medium blue.
Conversions
#6b4fb4
rgb(107, 79, 180)
hsl(256.6, 40.2%, 50.8%)
hsv(256.6, 56.1%, 70.6%)
cmyk(40.6%, 56.1%, 0%, 29.4%)
lab(41.24, 35.53, -49.84)
lch(41.24, 61.21, 305.48)
oklch(50.8%, 0.1537, 292.9)
hwb(256.6, 31%, 29.4%)
Harmony colors
Accessibility
White text reads better on this background (6.17:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6060a3 · ΔE 7.5
Deuteranopia
#62649e · ΔE 9.2
Tritanopia
#6a938f · ΔE 33.1
Achromatopsia
#616161 · ΔE 25.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6b4fb4;
bg-[#6b4fb4]
Related colors
Frequently asked questions
#6b4fb4 (#6b4fb4) is rgb(107, 79, 180) in RGB.
No, #6b4fb4 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 #6b4fb4, or check how it holds up for accessibility.