# #52478b color: Moonlight Sonata

#52478b is rgb(82, 71, 139) in RGB and oklch(44.271% 0.10873 288.578) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/52478b

## Formats

| Format | Value |
| --- | --- |
| HEX | #52478b |
| RGB | rgb(82, 71, 139) |
| HSL | hsl(249.71, 32.38%, 41.18%) |
| HSB / HSV | hsv(249.71 48.92% 54.51%) |
| HWB | hwb(249.71 27.84% 45.49%) |
| CMYK | cmyk(41% 49% 0% 45%) |
| Lab | lab(33.9 18.25 -36.91) |
| LCH | lch(33.9 41.18 296.32) |
| OKLab | oklab(44.271% 0.03464 -0.10306) |
| OKLCH | oklch(44.271% 0.10873 288.578) |
| Display P3 | color(display-p3 0.31442 0.27999 0.52821) |
| Rec. 2020 | color(rec2020 0.26299 0.22578 0.47708) |
| Adobe RGB | color(a98-rgb 0.31402 0.2845 0.53255) |
| ProPhoto RGB | color(prophoto-rgb 0.28096 0.22934 0.44442) |
| Linear sRGB | color(srgb-linear 0.08438 0.06301 0.25818) |
| XYZ D65 | color(xyz-d65 0.10392 0.08164 0.25455) |
| XYZ D50 | color(xyz-d50 0.098 0.0796 0.19166) |
| SwiftUI | Color(red: 0.322, green: 0.278, blue: 0.545) |
| UIKit | UIColor(red: 0.322, green: 0.278, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF52478B) |
| Android XML | #52478B |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.98:1
- Contrast with black: 2.63:1

## Tints

#52478b, #615997, #716aa3, #817cae, #928eba, #a3a0c6, #b5b3d1, #c7c5dd, #d9d8e8, #ececf4

## Shades

#52478b, #463d78, #3b3266, #2f2854, #251f43, #1a1632, #110d23, #080614, #020207, #000001

## Tones

#52478b, #524986, #524a80, #524c7b, #524d75, #524e70, #52506a, #525165, #52525f, #535259

## Harmonies

- Complementary: #52478b, #595700
- Split: #52478b, #734a00, #316120
- Analogous: #52478b, #2b528e, #6c3d79
- Triadic: #52478b, #823d11, #006648
- Tetradic: #52478b, #7d375d, #595700, #006648
- Square: #52478b, #85363b, #595700, #006267
- Monochromatic: #52478b, #190343, #332666, #736ab1, #968ed8

## Questions about #52478b

### What color is #52478b?

#52478b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 71, 139), in HSL hsl(249.71, 32.38%, 41.18%) and in OKLCH oklch(44.271% 0.10873 288.578).

### What colors go well with #52478b?

The complementary color of #52478b is #595700. For a calmer combination use the analogous colors #2b528e and #6c3d79. The triadic partners are #823d11 and #006648.

### Is white or black text more readable on #52478b?

White text reads better on #52478b: white gives a contrast ratio of 7.98:1 and black gives 2.63:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #52478b a warm or cool color?

#52478b is a cool color. In OKLCH its hue is 289 degrees, its lightness 44.3% and its chroma 0.109.
