# #504489 color: Moonlight Sonata

#504489 is rgb(80, 68, 137) in RGB and oklch(43.369% 0.11063 288.925) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504489 |
| RGB | rgb(80, 68, 137) |
| HSL | hsl(250.43, 33.66%, 40.2%) |
| HSB / HSV | hsv(250.43 50.36% 53.73%) |
| HWB | hwb(250.43 26.67% 46.27%) |
| CMYK | cmyk(42% 50% 0% 46%) |
| Lab | lab(32.8 18.98 -37.44) |
| LCH | lch(32.8 41.98 296.88) |
| OKLab | oklab(43.369% 0.03588 -0.10465) |
| OKLCH | oklch(43.369% 0.11063 288.925) |
| Display P3 | color(display-p3 0.30599 0.26839 0.52032) |
| Rec. 2020 | color(rec2020 0.25388 0.2142 0.4686) |
| Adobe RGB | color(a98-rgb 0.30577 0.27356 0.52482) |
| ProPhoto RGB | color(prophoto-rgb 0.27313 0.21983 0.43625) |
| Linear sRGB | color(srgb-linear 0.08022 0.05781 0.25016) |
| XYZ D65 | color(xyz-d65 0.0989 0.07646 0.24622) |
| XYZ D50 | color(xyz-d50 0.09304 0.07445 0.18537) |
| SwiftUI | Color(red: 0.314, green: 0.267, blue: 0.537) |
| UIKit | UIColor(red: 0.314, green: 0.267, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF504489) |
| Android XML | #504489 |

## 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.3:1
- Contrast with black: 2.53:1

## Tints

#504489, #5f5695, #6f68a1, #7f7aad, #908cb9, #a29fc5, #b4b1d1, #c6c4dc, #d9d8e8, #ecebf3

## Shades

#504489, #443a76, #393064, #2e2653, #241d42, #1a1431, #100c22, #070514, #020207, #000001

## Tones

#504489, #504684, #50487e, #504979, #504b73, #504c6e, #504d68, #504e62, #504f5d, #505057

## Harmonies

- Complementary: #504489, #565400
- Split: #504489, #704700, #2d5f1d
- Analogous: #504489, #28508d, #6a3a77
- Triadic: #504489, #7f3a09, #006346
- Tetradic: #504489, #7b335a, #565400, #006346
- Square: #504489, #833338, #565400, #005f64
- Monochromatic: #504489, #170041, #322364, #7167af, #948bd6

## Questions about #504489

### What color is #504489?

#504489 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 68, 137), in HSL hsl(250.43, 33.66%, 40.2%) and in OKLCH oklch(43.369% 0.11063 288.925).

### What colors go well with #504489?

The complementary color of #504489 is #565400. For a calmer combination use the analogous colors #28508d and #6a3a77. The triadic partners are #7f3a09 and #006346.

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

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

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

#504489 is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.4% and its chroma 0.111.
