<defs>
    <marker id="originvector" markerWidth="2.4" markerHeight="2.4" refX="0.4" refY="0.4">
        <line x1="0" y1="0.4" x2="2" y2="0.4" stroke="red" stroke-width="0.15" />
        <path d="M 2 0.6 L 2.4 0.4 L 2 0.2 Z" fill="red" stroke-width="0" />
        <line x1="0.4" y1="0" x2="0.4" y2="2" stroke="blue" stroke-width="0.15" />
        <path d="M  0.6 2 L 0.4 2.4 L 0.2 2 Z" fill="blue" stroke-width="0" />
    </marker>
</defs>

<line class="origin" marker-end="url(#originvector)" />