# #52458c color: Moonlight Sonata

#52458c is rgb(82, 69, 140) in RGB and oklch(43.947% 0.11338 289.301) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52458c |
| RGB | rgb(82, 69, 140) |
| HSL | hsl(250.99, 33.97%, 40.98%) |
| HSB / HSV | hsv(250.99 50.71% 54.9%) |
| HWB | hwb(250.99 27.06% 45.1%) |
| CMYK | cmyk(41% 51% 0% 45%) |
| Lab | lab(33.42 19.7 -38.28) |
| LCH | lch(33.42 43.05 297.23) |
| OKLab | oklab(43.947% 0.03748 -0.10701) |
| OKLCH | oklch(43.947% 0.11338 289.301) |
| Display P3 | color(display-p3 0.31323 0.27246 0.53167) |
| Rec. 2020 | color(rec2020 0.26111 0.21873 0.48069) |
| Adobe RGB | color(a98-rgb 0.3122 0.27721 0.53617) |
| ProPhoto RGB | color(prophoto-rgb 0.28006 0.22398 0.44771) |
| Linear sRGB | color(srgb-linear 0.08438 0.05951 0.26225) |
| XYZ D65 | color(xyz-d65 0.10341 0.07943 0.258) |
| XYZ D50 | color(xyz-d50 0.09724 0.07733 0.19423) |
| SwiftUI | Color(red: 0.322, green: 0.271, blue: 0.549) |
| UIKit | UIColor(red: 0.322, green: 0.271, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF52458C) |
| Android XML | #52458C |

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

## Tints

#52458c, #615798, #7169a4, #817baf, #928dbb, #a39fc6, #b5b2d2, #c7c5dd, #d9d8e9, #ecebf4

## Shades

#52458c, #463b79, #3b3167, #2f2755, #251e43, #1a1533, #110c23, #080514, #020207, #000001

## Tones

#52458c, #524786, #524981, #514a7b, #514c76, #514d70, #514e6a, #525064, #52515e, #525158

## Harmonies

- Complementary: #52458c, #585600
- Split: #52458c, #724900, #2d611d
- Analogous: #52458c, #295190, #6d3b79
- Triadic: #52458c, #823b07, #006548
- Tetradic: #52458c, #7e345c, #585600, #006548
- Square: #52458c, #863338, #585600, #006166
- Monochromatic: #52458c, #190044, #342367, #7368b2, #968cd9

## Questions about #52458c

### What color is #52458c?

#52458c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 69, 140), in HSL hsl(250.99, 33.97%, 40.98%) and in OKLCH oklch(43.947% 0.11338 289.301).

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

The complementary color of #52458c is #585600. For a calmer combination use the analogous colors #295190 and #6d3b79. The triadic partners are #823b07 and #006548.

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

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

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

#52458c is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.9% and its chroma 0.113.
