Skip to the color picker

#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

262°
100%

42.9%
0.175
295°
  • Violet
  • Dark
  • Vivid
  • Deep
  • Cool
  • ≈ Indigo
  • violet-900
  • Black 36%

Inside sRGB: displays the same on any screen.

White text
8.86:1Readable · AA
Lc -94
Black text
2.37:1Hard to read
Lc 14

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

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.

More dark violet colors

Lighter: #5a2fa3 mixed with white

  1. 5a2fa3
  2. 6846ad
  3. 775bb8
  4. 8670c2
  5. 9684cb
  6. a698d4
  7. b7acde
  8. c9c1e6
  9. dad5ef
  10. edeaf7

Darker: #5a2fa3 mixed with black

  1. 5a2fa3
  2. 4d278d
  3. 412078
  4. 351963
  5. 29124f
  6. 1e0c3c
  7. 13062a
  8. 090319
  9. 03010a
  10. 000001

Calmer: #5a2fa3 with less saturation

  1. 5a2fa3
  2. 58359b
  3. 573a93
  4. 563e8b
  5. 544283
  6. 53457a
  7. 524772
  8. 514a6a
  9. 514c61
  10. 504e58

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.