# #504590 color: Moonlight Sonata

#504590 is rgb(80, 69, 144) in RGB and oklch(44.033% 0.11928 287.171) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/504590

## Formats

| Format | Value |
| --- | --- |
| HEX | #504590 |
| RGB | rgb(80, 69, 144) |
| HSL | hsl(248.8, 35.21%, 41.76%) |
| HSB / HSV | hsv(248.8 52.08% 56.47%) |
| HWB | hwb(248.8 27.06% 43.53%) |
| CMYK | cmyk(44% 52% 0% 44%) |
| Lab | lab(33.44 20.08 -40.71) |
| LCH | lch(33.44 45.39 296.25) |
| OKLab | oklab(44.033% 0.03522 -0.11397) |
| OKLCH | oklch(44.033% 0.11928 287.171) |
| Display P3 | color(display-p3 0.30659 0.27215 0.54649) |
| Rec. 2020 | color(rec2020 0.25744 0.21851 0.49647) |
| Adobe RGB | color(a98-rgb 0.30668 0.27721 0.55124) |
| ProPhoto RGB | color(prophoto-rgb 0.28028 0.22409 0.46266) |
| Linear sRGB | color(srgb-linear 0.08022 0.05951 0.27889) |
| XYZ D65 | color(xyz-d65 0.1047 0.07975 0.27374) |
| XYZ D50 | color(xyz-d50 0.09781 0.07742 0.20605) |
| SwiftUI | Color(red: 0.314, green: 0.271, blue: 0.565) |
| UIKit | UIColor(red: 0.314, green: 0.271, blue: 0.565, alpha: 1) |
| Flutter / Compose | Color(0xFF504590) |
| Android XML | #504590 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.09:1
- Contrast with black: 2.6:1

## Tints

#504590, #5f579c, #6f69a7, #7f7bb2, #908dbe, #a29fc9, #b4b2d4, #c6c5df, #d9d8ea, #ecebf4

## Shades

#504590, #443b7d, #39316a, #2e2757, #241e45, #1a1534, #100c24, #070515, #020207, #000001

## Tones

#504590, #50478a, #504984, #504b7e, #504c78, #504e72, #514f6c, #515066, #51515f, #525259

## Harmonies

- Complementary: #504590, #5a5600
- Split: #504590, #744800, #2f6114
- Analogous: #504590, #225293, #6d3a7d
- Triadic: #504590, #853903, #006545
- Tetradic: #504590, #7f325f, #5a5600, #006545
- Square: #504590, #88313a, #5a5600, #006265
- Monochromatic: #504590, #180047, #32236b, #7168b6, #948cde

## Questions about #504590

### What color is #504590?

#504590 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 144), in HSL hsl(248.8, 35.21%, 41.76%) and in OKLCH oklch(44.033% 0.11928 287.171).

### What colors go well with #504590?

The complementary color of #504590 is #5a5600. For a calmer combination use the analogous colors #225293 and #6d3a7d. The triadic partners are #853903 and #006545.

### Is white or black text more readable on #504590?

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

### Is #504590 a warm or cool color?

#504590 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44% and its chroma 0.119.
