# #52488d color: Moonlight Sonata

#52488d is rgb(82, 72, 141) in RGB and oklch(44.597% 0.11009 287.728) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/52488d

## Formats

| Format | Value |
| --- | --- |
| HEX | #52488d |
| RGB | rgb(82, 72, 141) |
| HSL | hsl(248.7, 32.39%, 41.76%) |
| HSB / HSV | hsv(248.7 48.94% 55.29%) |
| HWB | hwb(248.7 28.24% 44.71%) |
| CMYK | cmyk(42% 49% 0% 45%) |
| Lab | lab(34.27 18.13 -37.55) |
| LCH | lch(34.27 41.69 295.77) |
| OKLab | oklab(44.597% 0.03352 -0.10486) |
| OKLCH | oklch(44.597% 0.11009 287.728) |
| Display P3 | color(display-p3 0.31503 0.28376 0.53577) |
| Rec. 2020 | color(rec2020 0.2648 0.22957 0.48515) |
| Adobe RGB | color(a98-rgb 0.31495 0.28815 0.54014) |
| ProPhoto RGB | color(prophoto-rgb 0.28362 0.23256 0.45211) |
| Linear sRGB | color(srgb-linear 0.08438 0.0648 0.26636) |
| XYZ D65 | color(xyz-d65 0.10604 0.08352 0.26253) |
| XYZ D50 | color(xyz-d50 0.09986 0.08138 0.19767) |
| SwiftUI | Color(red: 0.322, green: 0.282, blue: 0.553) |
| UIKit | UIColor(red: 0.322, green: 0.282, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF52488D) |
| Android XML | #52488D |

## 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.86:1
- Contrast with black: 2.67:1

## Tints

#52488d, #615999, #716ba4, #817db0, #928fbb, #a3a1c7, #b5b3d2, #c7c6dd, #d9d9e9, #ececf4

## Shades

#52488d, #463d7a, #3b3367, #2f2955, #251f44, #1a1633, #110d23, #080614, #020207, #000001

## Tones

#52488d, #524a88, #524b82, #524d7c, #524e77, #524f71, #52516c, #535266, #535260, #54535a

## Harmonies

- Complementary: #52488d, #5b5700
- Split: #52488d, #754a00, #33621f
- Analogous: #52488d, #2a5490, #6d3e7b
- Triadic: #52488d, #833d12, #006748
- Tetradic: #52488d, #7e375f, #5b5700, #006748
- Square: #52488d, #86363d, #5b5700, #006367
- Monochromatic: #52488d, #190345, #342768, #736bb3, #968fda

## Questions about #52488d

### What color is #52488d?

#52488d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 72, 141), in HSL hsl(248.7, 32.39%, 41.76%) and in OKLCH oklch(44.597% 0.11009 287.728).

### What colors go well with #52488d?

The complementary color of #52488d is #5b5700. For a calmer combination use the analogous colors #2a5490 and #6d3e7b. The triadic partners are #833d12 and #006748.

### Is white or black text more readable on #52488d?

White text reads better on #52488d: white gives a contrast ratio of 7.86:1 and black gives 2.67:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #52488d a warm or cool color?

#52488d is a cool color. In OKLCH its hue is 288 degrees, its lightness 44.6% and its chroma 0.11.
