Color #6c307e
A moderately saturated dark purple.
Conversions
#6c307e
rgb(108, 48, 126)
hsl(286.2, 44.8%, 34.1%)
hsv(286.2, 61.9%, 49.4%)
cmyk(14.3%, 61.9%, 0%, 50.6%)
lab(31.37, 39.54, -32.9)
lch(31.37, 51.44, 320.24)
oklch(42.5%, 0.1367, 317.76)
hwb(286.2, 18.8%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (8.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#585871 · ΔE 17.2
Deuteranopia
#5b5f6e · ΔE 20.2
Tritanopia
#6a6563 · ΔE 26.9
Achromatopsia
#4a4a4a · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6c307e;
bg-[#6c307e]
Related colors
Frequently asked questions
#6c307e (#6c307e) is rgb(108, 48, 126) in RGB.
No, #6c307e 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 #6c307e, or check how it holds up for accessibility.