Skip to the color picker

#512c82 color: Regalia

#512c82 is rgb(81, 44, 130) in RGB and oklch(38.788% 0.13853 299.693) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

266°
100%

38.8%
0.139
300°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Indigo
  • purple-900
  • Black 49%

Inside sRGB: displays the same on any screen.

White text
10.33:1Readable · AA
Lc -98
Black text
2.03:1Hard to read
Lc 10

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 #512c82

#512c82 is a soft dark violet color. In OKLCH it has 38.8% lightness, 0.139 chroma and a hue of 300°.

Inside sRGB: displays the same on any screen.

White text on it reaches 10.33:1 contrast and black text 2.03:1, so white text reads better.

The closest named color is Regalia (#522d80). In Tailwind CSS the closest color is purple-900.

More dark violet colors

Lighter: #512c82 mixed with white

  1. 512c82
  2. 60418f
  3. 70569c
  4. 806aa9
  5. 917fb5
  6. a393c2
  7. b4a8ce
  8. c7bddb
  9. d9d3e7
  10. ece9f3

Darker: #512c82 mixed with black

  1. 512c82
  2. 452570
  3. 3a1e5f
  4. 2f174e
  5. 24113e
  6. 1a0a2f
  7. 100520
  8. 070212
  9. 020106
  10. 000001

Calmer: #512c82 with less saturation

  1. 512c82
  2. 50307c
  3. 4e3376
  4. 4d3670
  5. 4b396a
  6. 4a3b64
  7. 493e5e
  8. 484058
  9. 464151
  10. 45434b

Questions about #512c82

What color is #512c82?

#512c82 is soft dark violet. The closest named color is Regalia. In RGB it is rgb(81, 44, 130), in HSL hsl(265.81, 49.43%, 34.12%) and in OKLCH oklch(38.788% 0.13853 299.693).

What colors go well with #512c82?

The complementary color of #512c82 is #3e4c00. For a calmer combination use the analogous colors #293a8d and #6a1f67. The triadic partners are #6e3100 and #005346.

Is white or black text more readable on #512c82?

White text reads better on #512c82: white gives a contrast ratio of 10.33:1 and black gives 2.03:1. WCAG AA asks for at least 4.5:1 for body text.

Is #512c82 a warm or cool color?

#512c82 is a cool color. In OKLCH its hue is 300 degrees, its lightness 38.8% and its chroma 0.139.