# #504891 color: Moonlight Sonata

#504891 is rgb(80, 72, 145) in RGB and oklch(44.682% 0.11613 285.684) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504891 |
| RGB | rgb(80, 72, 145) |
| HSL | hsl(246.58, 33.64%, 42.55%) |
| HSB / HSV | hsv(246.58 50.34% 56.86%) |
| HWB | hwb(246.58 28.24% 43.14%) |
| CMYK | cmyk(45% 50% 0% 43%) |
| Lab | lab(34.29 18.51 -39.96) |
| LCH | lch(34.29 44.04 294.85) |
| OKLab | oklab(44.682% 0.03139 -0.1118) |
| OKLCH | oklch(44.682% 0.11613 285.684) |
| Display P3 | color(display-p3 0.30843 0.28346 0.55058) |
| Rec. 2020 | color(rec2020 0.26119 0.22936 0.50092) |
| Adobe RGB | color(a98-rgb 0.30949 0.28815 0.55521) |
| ProPhoto RGB | color(prophoto-rgb 0.28386 0.23268 0.46707) |
| Linear sRGB | color(srgb-linear 0.08022 0.0648 0.28315) |
| XYZ D65 | color(xyz-d65 0.10736 0.08384 0.27842) |
| XYZ D50 | color(xyz-d50 0.10045 0.08147 0.2096) |
| SwiftUI | Color(red: 0.314, green: 0.282, blue: 0.569) |
| UIKit | UIColor(red: 0.314, green: 0.282, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF504891) |
| Android XML | #504891 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.84:1
- Contrast with black: 2.68:1

## Tints

#504891, #5f5a9c, #6f6ba8, #7f7db3, #908fbe, #a2a1c9, #b4b3d4, #c6c6df, #d9d9ea, #ececf4

## Shades

#504891, #443d7d, #39336a, #2e2958, #241f46, #1a1635, #100d25, #070615, #020207, #000001

## Tones

#504891, #504a8b, #504c85, #504d7f, #514e79, #515073, #52516d, #525267, #535361, #54545b

## Harmonies

- Complementary: #504891, #5e5700
- Split: #504891, #774900, #346216
- Analogous: #504891, #225493, #6d3d7f
- Triadic: #504891, #863b10, #006845
- Tetradic: #504891, #803662, #5e5700, #006845
- Square: #504891, #89343e, #5e5700, #006465
- Monochromatic: #504891, #180248, #32266c, #716bb7, #948fdf

## Questions about #504891

### What color is #504891?

#504891 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 72, 145), in HSL hsl(246.58, 33.64%, 42.55%) and in OKLCH oklch(44.682% 0.11613 285.684).

### What colors go well with #504891?

The complementary color of #504891 is #5e5700. For a calmer combination use the analogous colors #225493 and #6d3d7f. The triadic partners are #863b10 and #006845.

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

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

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

#504891 is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.7% and its chroma 0.116.
