Color #6a008e
A vivid, highly saturated dark purple.
Conversions
#6a008e
rgb(106, 0, 142)
hsl(284.8, 100%, 27.8%)
hsv(284.8, 100%, 55.7%)
cmyk(25.4%, 100%, 0%, 44.3%)
lab(26.78, 57.95, -50.29)
lch(26.78, 76.73, 319.05)
oklch(39.6%, 0.1965, 313.47)
hwb(284.8, 0%, 44.3%)
Harmony colors
Accessibility
White text reads better on this background (10.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#51507d · ΔE 18.8
Deuteranopia
#555978 · ΔE 22.2
Tritanopia
#676d69 · ΔE 33.3
Achromatopsia
#3f3f3f · ΔE 28.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6a008e;
bg-[#6a008e]
Related colors
Frequently asked questions
#6a008e (#6a008e) is rgb(106, 0, 142) in RGB.
No, #6a008e 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 #6a008e, or check how it holds up for accessibility.