Color #640fa4
A vivid, highly saturated dark purple.
Conversions
#640fa4
rgb(100, 15, 164)
hsl(274.2, 83.2%, 35.1%)
hsv(274.2, 90.9%, 64.3%)
cmyk(39%, 90.9%, 0%, 35.7%)
lab(28.72, 58.93, -60.65)
lch(28.72, 84.56, 314.18)
oklch(41.3%, 0.2065, 302.92)
hwb(274.2, 5.9%, 35.7%)
Harmony colors
Accessibility
White text reads better on this background (9.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4d4c91 · ΔE 14.9
Deuteranopia
#51558c · ΔE 18
Tritanopia
#627f7b · ΔE 34.8
Achromatopsia
#444444 · ΔE 29.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #640fa4;
bg-[#640fa4]
Related colors
Frequently asked questions
#640fa4 (#640fa4) is rgb(100, 15, 164) in RGB.
No, #640fa4 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #640fa4, or check how it holds up for accessibility.