Color #6342a5
A moderately saturated medium purple.
Conversions
#6342a5
rgb(99, 66, 165)
hsl(260, 42.9%, 45.3%)
hsv(260, 60%, 64.7%)
cmyk(40%, 60%, 0%, 35.3%)
lab(36.49, 37.07, -48.62)
lch(36.49, 61.14, 307.32)
oklch(46.8%, 0.1529, 295.21)
hwb(260, 25.9%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (7.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#575695 · ΔE 8.4
Deuteranopia
#585b90 · ΔE 10.6
Tritanopia
#628682 · ΔE 32.3
Achromatopsia
#565656 · ΔE 25.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6342a5;
bg-[#6342a5]
Related colors
Frequently asked questions
#6342a5 (#6342a5) is rgb(99, 66, 165) in RGB.
No, #6342a5 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 #6342a5, or check how it holds up for accessibility.