Color #3d197c
A moderately saturated dark purple.
Conversions
#3d197c
rgb(61, 25, 124)
hsl(261.8, 66.4%, 29.2%)
hsv(261.8, 79.8%, 48.6%)
cmyk(50.8%, 79.8%, 0%, 51.4%)
lab(20.61, 40.29, -49.35)
lch(20.61, 63.71, 309.23)
oklch(33.4%, 0.1534, 292.54)
hwb(261.8, 9.8%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (12.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#31316e · ΔE 8.7
Deuteranopia
#33356a · ΔE 10.4
Tritanopia
#3c615d · ΔE 31.9
Achromatopsia
#323232 · ΔE 26.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3d197c;
bg-[#3d197c]
Related colors
Frequently asked questions
#3d197c (#3d197c) is rgb(61, 25, 124) in RGB.
No, #3d197c 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 #3d197c, or check how it holds up for accessibility.