# #52458b color: Moonlight Sonata

#52458b is rgb(82, 69, 139) in RGB and oklch(43.881% 0.11192 289.507) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52458b |
| RGB | rgb(82, 69, 139) |
| HSL | hsl(251.14, 33.65%, 40.78%) |
| HSB / HSV | hsv(251.14 50.36% 54.51%) |
| HWB | hwb(251.14 27.06% 45.49%) |
| CMYK | cmyk(41% 50% 0% 45%) |
| Lab | lab(33.37 19.46 -37.75) |
| LCH | lch(33.37 42.47 297.27) |
| OKLab | oklab(43.881% 0.03737 -0.1055) |
| OKLCH | oklch(43.881% 0.11192 289.507) |
| Display P3 | color(display-p3 0.31323 0.27246 0.52795) |
| Rec. 2020 | color(rec2020 0.26077 0.21863 0.47674) |
| Adobe RGB | color(a98-rgb 0.3122 0.27721 0.53241) |
| ProPhoto RGB | color(prophoto-rgb 0.27918 0.22377 0.44398) |
| Linear sRGB | color(srgb-linear 0.08438 0.05951 0.25818) |
| XYZ D65 | color(xyz-d65 0.10267 0.07914 0.25414) |
| XYZ D50 | color(xyz-d50 0.09665 0.07709 0.19132) |
| SwiftUI | Color(red: 0.322, green: 0.271, blue: 0.545) |
| UIKit | UIColor(red: 0.322, green: 0.271, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF52458B) |
| Android XML | #52458B |

## 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.13:1
- Contrast with black: 2.58:1

## Tints

#52458b, #615797, #7169a3, #817baf, #928dba, #a39fc6, #b5b2d1, #c7c5dd, #d9d8e8, #ecebf4

## Shades

#52458b, #463b78, #3b3166, #2f2754, #251e43, #1a1532, #110c23, #080514, #020207, #000001

## Tones

#52458b, #524786, #524980, #514a7a, #514c75, #514d6f, #514e6a, #514f64, #52505e, #525158

## Harmonies

- Complementary: #52458b, #575600
- Split: #52458b, #724900, #2d601e
- Analogous: #52458b, #2a518f, #6c3b78
- Triadic: #52458b, #813b08, #006548
- Tetradic: #52458b, #7e345b, #575600, #006548
- Square: #52458b, #853438, #575600, #006166
- Monochromatic: #52458b, #190043, #342466, #7368b1, #968cd8

## Questions about #52458b

### What color is #52458b?

#52458b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 69, 139), in HSL hsl(251.14, 33.65%, 40.78%) and in OKLCH oklch(43.881% 0.11192 289.507).

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

The complementary color of #52458b is #575600. For a calmer combination use the analogous colors #2a518f and #6c3b78. The triadic partners are #813b08 and #006548.

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

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

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

#52458b is a cool color. In OKLCH its hue is 290 degrees, its lightness 43.9% and its chroma 0.112.
