Color #6148aa
A moderately saturated medium blue.
Conversions
#6148aa
rgb(97, 72, 170)
hsl(255.3, 40.5%, 47.5%)
hsv(255.3, 57.6%, 66.7%)
cmyk(42.9%, 57.6%, 0%, 33.3%)
lab(37.98, 34.49, -49.21)
lch(37.98, 60.09, 305.03)
oklch(48%, 0.1505, 291.43)
hwb(255.3, 28.2%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (6.96:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#575799 · ΔE 6.9
Deuteranopia
#595a95 · ΔE 8.2
Tritanopia
#608a87 · ΔE 32.3
Achromatopsia
#595959 · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6148aa;
bg-[#6148aa]
Related colors
Frequently asked questions
#6148aa (#6148aa) is rgb(97, 72, 170) in RGB.
No, #6148aa 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 #6148aa, or check how it holds up for accessibility.