# #504389 color: Moonlight Sonata

#504389 is rgb(80, 67, 137) in RGB and oklch(43.175% 0.11222 289.38) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504389 |
| RGB | rgb(80, 67, 137) |
| HSL | hsl(251.14, 34.31%, 40%) |
| HSB / HSV | hsv(251.14 51.09% 53.73%) |
| HWB | hwb(251.14 26.27% 46.27%) |
| CMYK | cmyk(42% 51% 0% 46%) |
| Lab | lab(32.54 19.59 -37.86) |
| LCH | lch(32.54 42.63 297.35) |
| OKLab | oklab(43.175% 0.03724 -0.10586) |
| OKLCH | oklch(43.175% 0.11222 289.38) |
| Display P3 | color(display-p3 0.3054 0.26462 0.52019) |
| Rec. 2020 | color(rec2020 0.25278 0.21064 0.46844) |
| Adobe RGB | color(a98-rgb 0.30487 0.26993 0.52476) |
| ProPhoto RGB | color(prophoto-rgb 0.27226 0.21708 0.43604) |
| Linear sRGB | color(srgb-linear 0.08022 0.05613 0.25016) |
| XYZ D65 | color(xyz-d65 0.0983 0.07526 0.24602) |
| XYZ D50 | color(xyz-d50 0.09239 0.07325 0.1852) |
| SwiftUI | Color(red: 0.314, green: 0.263, blue: 0.537) |
| UIKit | UIColor(red: 0.314, green: 0.263, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF504389) |
| Android XML | #504389 |

## 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.38:1
- Contrast with black: 2.51:1

## Tints

#504389, #5f5595, #6f67a1, #7f79ad, #908bb9, #a29ec5, #b4b1d1, #c6c4dc, #d9d7e8, #ecebf3

## Shades

#504389, #443976, #392f64, #2e2653, #241d42, #1a1431, #100c22, #070514, #020107, #000001

## Tones

#504389, #504584, #50477e, #4f4879, #4f4a73, #4f4b6d, #4f4c68, #4f4d62, #504e5c, #504f56

## Harmonies

- Complementary: #504389, #565400
- Split: #504389, #6f4700, #2b5e1c
- Analogous: #504389, #284f8d, #6a3976
- Triadic: #504389, #7f3905, #006246
- Tetradic: #504389, #7b3259, #565400, #006246
- Square: #504389, #833137, #565400, #005f64
- Monochromatic: #504389, #170041, #322264, #7166af, #948ad6

## Questions about #504389

### What color is #504389?

#504389 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 67, 137), in HSL hsl(251.14, 34.31%, 40%) and in OKLCH oklch(43.175% 0.11222 289.38).

### What colors go well with #504389?

The complementary color of #504389 is #565400. For a calmer combination use the analogous colors #284f8d and #6a3976. The triadic partners are #7f3905 and #006246.

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

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

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

#504389 is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.2% and its chroma 0.112.
