# #52458d color: Moonlight Sonata

#52458d is rgb(82, 69, 141) in RGB and oklch(44.013% 0.11484 289.1) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52458d |
| RGB | rgb(82, 69, 141) |
| HSL | hsl(250.83, 34.29%, 41.18%) |
| HSB / HSV | hsv(250.83 51.06% 55.29%) |
| HWB | hwb(250.83 27.06% 44.71%) |
| CMYK | cmyk(42% 51% 0% 45%) |
| Lab | lab(33.47 19.94 -38.81) |
| LCH | lch(33.47 43.63 297.2) |
| OKLab | oklab(44.013% 0.03758 -0.10851) |
| OKLCH | oklch(44.013% 0.11484 289.1) |
| Display P3 | color(display-p3 0.31323 0.27246 0.53539) |
| Rec. 2020 | color(rec2020 0.26145 0.21884 0.48465) |
| Adobe RGB | color(a98-rgb 0.3122 0.27721 0.53993) |
| ProPhoto RGB | color(prophoto-rgb 0.28095 0.22419 0.45145) |
| Linear sRGB | color(srgb-linear 0.08438 0.05951 0.26636) |
| XYZ D65 | color(xyz-d65 0.10415 0.07973 0.2619) |
| XYZ D50 | color(xyz-d50 0.09782 0.07758 0.19716) |
| SwiftUI | Color(red: 0.322, green: 0.271, blue: 0.553) |
| UIKit | UIColor(red: 0.322, green: 0.271, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF52458D) |
| Android XML | #52458D |

## 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.09:1
- Contrast with black: 2.59:1

## Tints

#52458d, #615799, #7169a5, #817bb0, #928dbc, #a39fc7, #b5b2d2, #c7c5de, #d9d8e9, #ecebf4

## Shades

#52458d, #463b7a, #3b3167, #2f2755, #251e44, #1a1533, #110c23, #080514, #020207, #000001

## Tones

#52458d, #524787, #524982, #514a7c, #514c76, #514d71, #514f6b, #525065, #52515f, #525259

## Harmonies

- Complementary: #52458d, #585600
- Split: #52458d, #724900, #2d611c
- Analogous: #52458d, #285191, #6d3b7a
- Triadic: #52458d, #833b05, #006548
- Tetradic: #52458d, #7f345c, #585600, #006548
- Square: #52458d, #863338, #585600, #006166
- Monochromatic: #52458d, #190045, #342368, #7368b3, #968cdb

## Questions about #52458d

### What color is #52458d?

#52458d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 69, 141), in HSL hsl(250.83, 34.29%, 41.18%) and in OKLCH oklch(44.013% 0.11484 289.1).

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

The complementary color of #52458d is #585600. For a calmer combination use the analogous colors #285191 and #6d3b7a. The triadic partners are #833b05 and #006548.

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

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

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

#52458d is a cool color. In OKLCH its hue is 289 degrees, its lightness 44% and its chroma 0.115.
