Let be a positive integer, and be a -connected graph. An edge-coloured path is rainbow if all of its edges have distinct colours. The rainbow -connection number of , denoted by , is the minimum number of colours in an edge-colouring of such that, any two vertices are connected by internally vertex-disjoint rainbow paths. The function was introduced by Chartrand, Johns, McKeon, and Zhang in 2009, and has since attracted significant interest. Let denote the minimum number of edges in a -connected graph on vertices with . Let denote the maximum number of edges in a -connected graph on vertices with . The functions and have previously been studied by various authors. In this paper, we study the functions and . We determine bounds for which imply that , and is linear in for . We also provide some remarks about the function .