# #52498d color: Moonlight Sonata

#52498d is rgb(82, 73, 141) in RGB and oklch(44.795% 0.10851 287.243) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52498d |
| RGB | rgb(82, 73, 141) |
| HSL | hsl(247.94, 31.78%, 41.96%) |
| HSB / HSV | hsv(247.94 48.23% 55.29%) |
| HWB | hwb(247.94 28.63% 44.71%) |
| CMYK | cmyk(42% 48% 0% 45%) |
| Lab | lab(34.54 17.52 -37.12) |
| LCH | lch(34.54 41.05 295.27) |
| OKLab | oklab(44.795% 0.03217 -0.10364) |
| OKLCH | oklch(44.795% 0.10851 287.243) |
| Display P3 | color(display-p3 0.31564 0.28753 0.5359) |
| Rec. 2020 | color(rec2020 0.26594 0.23317 0.48532) |
| Adobe RGB | color(a98-rgb 0.31589 0.29181 0.54021) |
| ProPhoto RGB | color(prophoto-rgb 0.28453 0.23539 0.45233) |
| Linear sRGB | color(srgb-linear 0.08438 0.06663 0.26636) |
| XYZ D65 | color(xyz-d65 0.10669 0.08482 0.26275) |
| XYZ D50 | color(xyz-d50 0.10056 0.08268 0.19785) |
| SwiftUI | Color(red: 0.322, green: 0.286, blue: 0.553) |
| UIKit | UIColor(red: 0.322, green: 0.286, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF52498D) |
| Android XML | #52498D |

## 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.79:1
- Contrast with black: 2.7:1

## Tints

#52498d, #615a99, #716ca4, #817db0, #928fbb, #a3a1c7, #b5b3d2, #c7c6dd, #d9d9e9, #ececf4

## Shades

#52498d, #463e7a, #3b3467, #2f2a55, #252044, #1a1733, #110e23, #080614, #020207, #000001

## Tones

#52498d, #524b88, #524c82, #524e7d, #524f77, #535072, #53516c, #535266, #545360, #54545b

## Harmonies

- Complementary: #52498d, #5c5800
- Split: #52498d, #754b00, #356220
- Analogous: #52498d, #2a5490, #6d3f7c
- Triadic: #52498d, #843e16, #006748
- Tetradic: #52498d, #7e3860, #5c5800, #006748
- Square: #52498d, #86373e, #5c5800, #006467
- Monochromatic: #52498d, #190545, #332868, #736cb3, #9690da

## Questions about #52498d

### What color is #52498d?

#52498d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 73, 141), in HSL hsl(247.94, 31.78%, 41.96%) and in OKLCH oklch(44.795% 0.10851 287.243).

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

The complementary color of #52498d is #5c5800. For a calmer combination use the analogous colors #2a5490 and #6d3f7c. The triadic partners are #843e16 and #006748.

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

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

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

#52498d is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.8% and its chroma 0.109.
