Knit with two strands: both purple for 2 x2 rib. Then blue and purple for rest of hat.
92 stitches for about 19 inches.
Calculated hat length: 8.625”, ribbing 2”, decreases 3.8”. Could go a bit longer so there’s more room in the hat.