Skip to the color picker

#52468a color: Moonlight Sonata

#52468a is rgb(82, 70, 138) in RGB and oklch(44.01% 0.10885 289.251) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

251°
100%

44%
0.109
289°
  • Violet
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
8.07:1Readable · AA
Lc -92
Black text
2.60:1Hard to read
Lc 16

Shades

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

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #52468a

#52468a is a soft dark violet color. In OKLCH it has 44% lightness, 0.109 chroma and a hue of 289°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.

More dark violet colors

Lighter: #52468a mixed with white

Darker: #52468a mixed with black

Calmer: #52468a with less saturation

Similar named colors

Colors that go with #52468a

Complementary
Analogous
Triadic
Split

Questions about #52468a

What color is #52468a?

#52468a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 70, 138), in HSL hsl(250.59, 32.69%, 40.78%) and in OKLCH oklch(44.01% 0.10885 289.251).

What colors go well with #52468a?

The complementary color of #52468a is #585600. For a calmer combination use the analogous colors #2b518e and #6c3c78. The triadic partners are #813d0e and #006548.

Is white or black text more readable on #52468a?

White text reads better on #52468a: white gives a contrast ratio of 8.07:1 and black gives 2.6:1. WCAG AA asks for at least 4.5:1 for body text.

Is #52468a a warm or cool color?

#52468a is a cool color. In OKLCH its hue is 289 degrees, its lightness 44% and its chroma 0.109.