# #52438f color: Moonlight Sonata

#52438f is rgb(82, 67, 143) in RGB and oklch(43.768% 0.12086 289.53) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52438f |
| RGB | rgb(82, 67, 143) |
| HSL | hsl(251.84, 36.19%, 41.18%) |
| HSB / HSV | hsv(251.84 53.15% 56.08%) |
| HWB | hwb(251.84 26.27% 43.92%) |
| CMYK | cmyk(43% 53% 0% 44%) |
| Lab | lab(33.06 21.63 -40.68) |
| LCH | lch(33.06 46.07 297.99) |
| OKLab | oklab(43.768% 0.0404 -0.11391) |
| OKLCH | oklch(43.768% 0.12086 289.53) |
| Display P3 | color(display-p3 0.31208 0.26495 0.54259) |
| Rec. 2020 | color(rec2020 0.25999 0.21195 0.49226) |
| Adobe RGB | color(a98-rgb 0.31042 0.26993 0.54733) |
| ProPhoto RGB | color(prophoto-rgb 0.28103 0.21915 0.45855) |
| Linear sRGB | color(srgb-linear 0.08438 0.05613 0.27468) |
| XYZ D65 | color(xyz-d65 0.10444 0.07791 0.26941) |
| XYZ D50 | color(xyz-d50 0.09771 0.07566 0.20277) |
| SwiftUI | Color(red: 0.322, green: 0.263, blue: 0.561) |
| UIKit | UIColor(red: 0.322, green: 0.263, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF52438F) |
| Android XML | #52438F |

## 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.21:1
- Contrast with black: 2.56:1

## Tints

#52438f, #61559b, #7167a6, #817ab2, #928cbd, #a39ec8, #b4b1d3, #c7c4de, #d9d8e9, #ecebf4

## Shades

#52438f, #46397c, #3b2f69, #2f2657, #251d45, #1a1434, #110c24, #080515, #020107, #000001

## Tones

#52438f, #524589, #514783, #51497d, #514b77, #514c71, #514e6b, #514f65, #51505f, #515158

## Harmonies

- Complementary: #52438f, #575600
- Split: #52438f, #714900, #286117
- Analogous: #52438f, #265093, #6e387b
- Triadic: #52438f, #843800, #006448
- Tetradic: #52438f, #80305c, #575600, #006448
- Square: #52438f, #882f36, #575600, #006166
- Monochromatic: #52438f, #190046, #34216a, #7366b5, #968add

## Questions about #52438f

### What color is #52438f?

#52438f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 67, 143), in HSL hsl(251.84, 36.19%, 41.18%) and in OKLCH oklch(43.768% 0.12086 289.53).

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

The complementary color of #52438f is #575600. For a calmer combination use the analogous colors #265093 and #6e387b. The triadic partners are #843800 and #006448.

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

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

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

#52438f is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.8% and its chroma 0.121.
