# #52428f color: Moonlight Sonata

#52428f is rgb(82, 66, 143) in RGB and oklch(43.581% 0.12242 289.924) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/52428f

## Formats

| Format | Value |
| --- | --- |
| HEX | #52428f |
| RGB | rgb(82, 66, 143) |
| HSL | hsl(252.47, 36.84%, 40.98%) |
| HSB / HSV | hsv(252.47 53.85% 56.08%) |
| HWB | hwb(252.47 25.88% 43.92%) |
| CMYK | cmyk(43% 54% 0% 44%) |
| Lab | lab(32.81 22.23 -41.09) |
| LCH | lch(32.81 46.72 298.41) |
| OKLab | oklab(43.581% 0.04172 -0.11509) |
| OKLCH | oklch(43.581% 0.12242 289.924) |
| Display P3 | color(display-p3 0.31151 0.26119 0.54248) |
| Rec. 2020 | color(rec2020 0.25894 0.20842 0.49211) |
| Adobe RGB | color(a98-rgb 0.30955 0.26629 0.54727) |
| ProPhoto RGB | color(prophoto-rgb 0.28019 0.21644 0.45835) |
| Linear sRGB | color(srgb-linear 0.08438 0.05448 0.27468) |
| XYZ D65 | color(xyz-d65 0.10385 0.07673 0.26921) |
| XYZ D50 | color(xyz-d50 0.09708 0.07448 0.20261) |
| SwiftUI | Color(red: 0.322, green: 0.259, blue: 0.561) |
| UIKit | UIColor(red: 0.322, green: 0.259, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF52428F) |
| Android XML | #52428F |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.29:1
- Contrast with black: 2.53:1

## Tints

#52428f, #61549b, #7067a6, #8179b2, #918bbd, #a39ec8, #b4b1d3, #c7c4de, #d9d7e9, #ecebf4

## Shades

#52428f, #46387c, #3b2f69, #2f2557, #251c45, #1a1434, #110b24, #080515, #020107, #000001

## Tones

#52428f, #524489, #514683, #51487d, #514a77, #514c71, #514d6b, #514e65, #514f5e, #515058

## Harmonies

- Complementary: #52428f, #565600
- Split: #52428f, #704800, #266116
- Analogous: #52428f, #254f94, #6e377b
- Triadic: #52428f, #843700, #006448
- Tetradic: #52428f, #802f5b, #565600, #006448
- Square: #52428f, #882e34, #565600, #006065
- Monochromatic: #52428f, #1a0046, #34206a, #7365b5, #9689dd

## Questions about #52428f

### What color is #52428f?

#52428f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 66, 143), in HSL hsl(252.47, 36.84%, 40.98%) and in OKLCH oklch(43.581% 0.12242 289.924).

### What colors go well with #52428f?

The complementary color of #52428f is #565600. For a calmer combination use the analogous colors #254f94 and #6e377b. The triadic partners are #843700 and #006448.

### Is white or black text more readable on #52428f?

White text reads better on #52428f: white gives a contrast ratio of 8.29:1 and black gives 2.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #52428f a warm or cool color?

#52428f is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.6% and its chroma 0.122.
