# #52458f color: Moonlight Sonata

#52458f is rgb(82, 69, 143) in RGB and oklch(44.147% 0.11774 288.706) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52458f |
| RGB | rgb(82, 69, 143) |
| HSL | hsl(250.54, 34.91%, 41.57%) |
| HSB / HSV | hsv(250.54 51.75% 56.08%) |
| HWB | hwb(250.54 27.06% 43.92%) |
| CMYK | cmyk(43% 52% 0% 44%) |
| Lab | lab(33.58 20.42 -39.86) |
| LCH | lch(33.58 44.78 297.13) |
| OKLab | oklab(44.147% 0.03776 -0.11152) |
| OKLCH | oklch(44.147% 0.11774 288.706) |
| Display P3 | color(display-p3 0.31323 0.27246 0.54283) |
| Rec. 2020 | color(rec2020 0.26215 0.21905 0.49257) |
| Adobe RGB | color(a98-rgb 0.3122 0.27721 0.54747) |
| ProPhoto RGB | color(prophoto-rgb 0.28274 0.22462 0.45896) |
| Linear sRGB | color(srgb-linear 0.08438 0.05951 0.27468) |
| XYZ D65 | color(xyz-d65 0.10565 0.08033 0.26981) |
| XYZ D50 | color(xyz-d50 0.09901 0.07809 0.2031) |
| SwiftUI | Color(red: 0.322, green: 0.271, blue: 0.561) |
| UIKit | UIColor(red: 0.322, green: 0.271, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF52458F) |
| Android XML | #52458F |

## 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: 8.06:1
- Contrast with black: 2.61:1

## Tints

#52458f, #61579b, #7169a6, #817bb2, #928dbd, #a39fc8, #b5b2d3, #c7c5de, #d9d8e9, #ecebf4

## Shades

#52458f, #463b7c, #3b3169, #2f2757, #251e45, #1a1534, #110c24, #080515, #020207, #000001

## Tones

#52458f, #524789, #524983, #514b7e, #514c78, #524e72, #524f6c, #525066, #525160, #525259

## Harmonies

- Complementary: #52458f, #595700
- Split: #52458f, #734900, #2c6119
- Analogous: #52458f, #265193, #6e3a7c
- Triadic: #52458f, #843a02, #006648
- Tetradic: #52458f, #80335d, #595700, #006648
- Square: #52458f, #883239, #595700, #006266
- Monochromatic: #52458f, #190047, #34236a, #7368b5, #968cdd

## Questions about #52458f

### What color is #52458f?

#52458f is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 69, 143), in HSL hsl(250.54, 34.91%, 41.57%) and in OKLCH oklch(44.147% 0.11774 288.706).

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

The complementary color of #52458f is #595700. For a calmer combination use the analogous colors #265193 and #6e3a7c. The triadic partners are #843a02 and #006648.

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

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

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

#52458f is a cool color. In OKLCH its hue is 289 degrees, its lightness 44.1% and its chroma 0.118.
