Color #6e1b8c
A moderately saturated dark purple.
Conversions
#6e1b8c
rgb(110, 27, 140)
hsl(284.1, 67.7%, 32.7%)
hsv(284.1, 80.7%, 54.9%)
cmyk(21.4%, 80.7%, 0%, 45.1%)
lab(29.39, 52.03, -44.78)
lch(29.39, 68.65, 319.28)
oklch(41.5%, 0.1785, 314.86)
hwb(284.1, 10.6%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (9.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#56557c · ΔE 18.2
Deuteranopia
#5a5e78 · ΔE 21.5
Tritanopia
#6c6d6a · ΔE 33.7
Achromatopsia
#454545 · ΔE 27.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6e1b8c;
bg-[#6e1b8c]
Related colors
Frequently asked questions
#6e1b8c (#6e1b8c) is rgb(110, 27, 140) in RGB.
No, #6e1b8c 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 #6e1b8c, or check how it holds up for accessibility.