# #504691 color: Moonlight Sonata

#504691 is rgb(80, 70, 145) in RGB and oklch(44.293% 0.1192 286.573) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504691 |
| RGB | rgb(80, 70, 145) |
| HSL | hsl(248, 34.88%, 42.16%) |
| HSB / HSV | hsv(248 51.72% 56.86%) |
| HWB | hwb(248 27.45% 43.14%) |
| CMYK | cmyk(45% 52% 0% 43%) |
| Lab | lab(33.76 19.72 -40.81) |
| LCH | lch(33.76 45.32 295.79) |
| OKLab | oklab(44.293% 0.034 -0.11425) |
| OKLCH | oklch(44.293% 0.1192 286.573) |
| Display P3 | color(display-p3 0.30719 0.27592 0.55033) |
| Rec. 2020 | color(rec2020 0.25891 0.22219 0.50059) |
| Adobe RGB | color(a98-rgb 0.30761 0.28085 0.55508) |
| ProPhoto RGB | color(prophoto-rgb 0.28207 0.22708 0.46664) |
| Linear sRGB | color(srgb-linear 0.08022 0.06125 0.28315) |
| XYZ D65 | color(xyz-d65 0.10609 0.0813 0.27799) |
| XYZ D50 | color(xyz-d50 0.09908 0.07892 0.20926) |
| SwiftUI | Color(red: 0.314, green: 0.275, blue: 0.569) |
| UIKit | UIColor(red: 0.314, green: 0.275, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF504691) |
| Android XML | #504691 |

## 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:1
- Contrast with black: 2.63:1

## Tints

#504691, #5f589d, #6f6aa8, #7f7cb3, #908ebe, #a2a0c9, #b4b3d4, #c6c5df, #d9d8ea, #ececf4

## Shades

#504691, #443c7d, #39326a, #2e2858, #241e46, #1a1535, #100d25, #070515, #020207, #000001

## Tones

#504691, #50488b, #504a85, #504c7f, #504d79, #514e73, #51506d, #515167, #525260, #53525a

## Harmonies

- Complementary: #504691, #5c5600
- Split: #504691, #754800, #316114
- Analogous: #504691, #215394, #6d3b7f
- Triadic: #504691, #863907, #006645
- Tetradic: #504691, #803360, #5c5600, #006645
- Square: #504691, #89313b, #5c5600, #006365
- Monochromatic: #504691, #180048, #32246c, #7169b7, #948ddf

## Questions about #504691

### What color is #504691?

#504691 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 70, 145), in HSL hsl(248, 34.88%, 42.16%) and in OKLCH oklch(44.293% 0.1192 286.573).

### What colors go well with #504691?

The complementary color of #504691 is #5c5600. For a calmer combination use the analogous colors #215394 and #6d3b7f. The triadic partners are #863907 and #006645.

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

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

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

#504691 is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.3% and its chroma 0.119.
