# #504589 color: Moonlight Sonata

#504589 is rgb(80, 69, 137) in RGB and oklch(43.564% 0.10904 288.456) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504589 |
| RGB | rgb(80, 69, 137) |
| HSL | hsl(249.71, 33.01%, 40.39%) |
| HSB / HSV | hsv(249.71 49.64% 53.73%) |
| HWB | hwb(249.71 27.06% 46.27%) |
| CMYK | cmyk(42% 50% 0% 46%) |
| Lab | lab(33.07 18.37 -37.02) |
| LCH | lch(33.07 41.33 296.4) |
| OKLab | oklab(43.564% 0.03452 -0.10343) |
| OKLCH | oklch(43.564% 0.10904 288.456) |
| Display P3 | color(display-p3 0.30659 0.27215 0.52044) |
| Rec. 2020 | color(rec2020 0.25499 0.21777 0.46877) |
| Adobe RGB | color(a98-rgb 0.30668 0.27721 0.52489) |
| ProPhoto RGB | color(prophoto-rgb 0.27401 0.2226 0.43647) |
| Linear sRGB | color(srgb-linear 0.08022 0.05951 0.25016) |
| XYZ D65 | color(xyz-d65 0.09951 0.07768 0.24643) |
| XYZ D50 | color(xyz-d50 0.09369 0.07568 0.18553) |
| SwiftUI | Color(red: 0.314, green: 0.271, blue: 0.537) |
| UIKit | UIColor(red: 0.314, green: 0.271, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF504589) |
| Android XML | #504589 |

## 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.22:1
- Contrast with black: 2.55:1

## Tints

#504589, #5f5795, #6f68a1, #7f7aad, #908db9, #a29fc5, #b4b2d0, #c6c5dc, #d9d8e8, #ecebf3

## Shades

#504589, #443b76, #393164, #2e2753, #241e42, #1a1531, #100c22, #070514, #020207, #000001

## Tones

#504589, #504784, #50487e, #504a79, #504b73, #504d6e, #504e68, #504f63, #50505d, #515057

## Harmonies

- Complementary: #504589, #575500
- Split: #504589, #714800, #2f5f1e
- Analogous: #504589, #29508c, #6a3b77
- Triadic: #504589, #803b0e, #006346
- Tetradic: #504589, #7b345b, #575500, #006346
- Square: #504589, #833439, #575500, #006064
- Monochromatic: #504589, #170142, #322464, #7168af, #948cd6

## Questions about #504589

### What color is #504589?

#504589 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 69, 137), in HSL hsl(249.71, 33.01%, 40.39%) and in OKLCH oklch(43.564% 0.10904 288.456).

### What colors go well with #504589?

The complementary color of #504589 is #575500. For a calmer combination use the analogous colors #29508c and #6a3b77. The triadic partners are #803b0e and #006346.

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

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

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

#504589 is a cool color. In OKLCH its hue is 288 degrees, its lightness 43.6% and its chroma 0.109.
