Color #6340a0
A moderately saturated medium purple.
Conversions
#6340a0
rgb(99, 64, 160)
hsl(261.9, 42.9%, 43.9%)
hsv(261.9, 60%, 62.7%)
cmyk(38.1%, 60%, 0%, 37.3%)
lab(35.71, 36.85, -46.88)
lch(35.71, 59.63, 308.17)
oklch(46.1%, 0.1494, 296.94)
hwb(261.9, 25.1%, 37.3%)
Harmony colors
Accessibility
White text reads better on this background (7.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#565690 · ΔE 9.3
Deuteranopia
#585a8c · ΔE 11
Tritanopia
#62827e · ΔE 31.4
Achromatopsia
#545454 · ΔE 25.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6340a0;
bg-[#6340a0]
Related colors
Frequently asked questions
#6340a0 (#6340a0) is rgb(99, 64, 160) in RGB.
No, #6340a0 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 #6340a0, or check how it holds up for accessibility.