# #504494 color: Moonlight Sonata

#504494 is rgb(80, 68, 148) in RGB and oklch(44.12% 0.12657 286.891) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504494 |
| RGB | rgb(80, 68, 148) |
| HSL | hsl(249, 37.04%, 42.35%) |
| HSB / HSV | hsv(249 54.05% 58.04%) |
| HWB | hwb(249 26.67% 41.96%) |
| CMYK | cmyk(46% 54% 0% 42%) |
| Lab | lab(33.4 21.67 -43.2) |
| LCH | lch(33.4 48.33 296.64) |
| OKLab | oklab(44.12% 0.03678 -0.12111) |
| OKLCH | oklch(44.12% 0.12657 286.891) |
| Display P3 | color(display-p3 0.30599 0.26839 0.56127) |
| Rec. 2020 | color(rec2020 0.2578 0.2154 0.51221) |
| Adobe RGB | color(a98-rgb 0.30577 0.27356 0.56628) |
| ProPhoto RGB | color(prophoto-rgb 0.28312 0.22224 0.47762) |
| Linear sRGB | color(srgb-linear 0.08022 0.05781 0.29614) |
| XYZ D65 | color(xyz-d65 0.1072 0.07978 0.28993) |
| XYZ D50 | color(xyz-d50 0.09962 0.07724 0.2182) |
| SwiftUI | Color(red: 0.314, green: 0.267, blue: 0.58) |
| UIKit | UIColor(red: 0.314, green: 0.267, blue: 0.58, alpha: 1) |
| Flutter / Compose | Color(0xFF504494) |
| Android XML | #504494 |

## 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

#504494, #5f569f, #6f68ab, #7f7bb6, #908dc0, #a19fcb, #b3b2d6, #c6c5e0, #d8d8eb, #ecebf5

## Shades

#504494, #443a80, #39306d, #2e265a, #241d48, #1a1436, #100c26, #070516, #020208, #000001

## Tones

#504494, #50468e, #504887, #504a81, #504c7b, #504d74, #514f6e, #515067, #525161, #52525a

## Harmonies

- Complementary: #504494, #5b5600
- Split: #504494, #744800, #2c620b
- Analogous: #504494, #1d5197, #6e3880
- Triadic: #504494, #883600, #006645
- Tetradic: #504494, #823060, #5b5600, #006645
- Square: #504494, #8b2e39, #5b5600, #006265
- Monochromatic: #504494, #19004b, #32216f, #7167bb, #948be3

## Questions about #504494

### What color is #504494?

#504494 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 68, 148), in HSL hsl(249, 37.04%, 42.35%) and in OKLCH oklch(44.12% 0.12657 286.891).

### What colors go well with #504494?

The complementary color of #504494 is #5b5600. For a calmer combination use the analogous colors #1d5197 and #6e3880. The triadic partners are #883600 and #006645.

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

White text reads better on #504494: 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 #504494 a warm or cool color?

#504494 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.1% and its chroma 0.127.
