#5a2fa3 color: Royalty
#5a2fa3 is rgb(90, 47, 163) in RGB and oklch(42.914% 0.17541 294.861) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Dark
- Vivid
- Deep
- Cool
- ≈ Indigo
- violet-900
- Black 36%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #5a2fa3
#5a2fa3 is a deep dark violet color. In OKLCH it has 42.9% lightness, 0.175 chroma and a hue of 295°.
Inside sRGB: displays the same on any screen.
White text on it reaches 8.86:1 contrast and black text 2.37:1, so white text reads better.
The closest named color is Royalty (#5930a9). In Tailwind CSS the closest color is violet-900.
Lighter: #5a2fa3 mixed with white
Darker: #5a2fa3 mixed with black
Calmer: #5a2fa3 with less saturation
Similar named colors
Colors that go with #5a2fa3
Questions about #5a2fa3
What color is #5a2fa3?
#5a2fa3 is deep dark violet. The closest named color is Royalty. In RGB it is rgb(90, 47, 163), in HSL hsl(262.24, 55.24%, 41.18%) and in OKLCH oklch(42.914% 0.17541 294.861).
What colors go well with #5a2fa3?
The complementary color of #5a2fa3 is #4f5600. For a calmer combination use the analogous colors #1e43ae and #7b1c83. The triadic partners are #823600 and #00614c.
Is white or black text more readable on #5a2fa3?
White text reads better on #5a2fa3: white gives a contrast ratio of 8.86:1 and black gives 2.37:1. WCAG AA asks for at least 4.5:1 for body text.
Is #5a2fa3 a warm or cool color?
#5a2fa3 is a cool color. In OKLCH its hue is 295 degrees, its lightness 42.9% and its chroma 0.175.