# #504692 color: Moonlight Sonata

#504692 is rgb(80, 70, 146) in RGB and oklch(44.362% 0.12065 286.409) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #504692 |
| RGB | rgb(80, 70, 146) |
| HSL | hsl(247.89, 35.19%, 42.35%) |
| HSB / HSV | hsv(247.89 52.05% 57.25%) |
| HWB | hwb(247.89 27.45% 42.75%) |
| CMYK | cmyk(45% 52% 0% 43%) |
| Lab | lab(33.81 19.97 -41.33) |
| LCH | lch(33.81 45.9 295.79) |
| OKLab | oklab(44.362% 0.03408 -0.11574) |
| OKLCH | oklch(44.362% 0.12065 286.409) |
| Display P3 | color(display-p3 0.30719 0.27592 0.55405) |
| Rec. 2020 | color(rec2020 0.25928 0.2223 0.50456) |
| Adobe RGB | color(a98-rgb 0.30761 0.28085 0.55885) |
| ProPhoto RGB | color(prophoto-rgb 0.28299 0.2273 0.47043) |
| Linear sRGB | color(srgb-linear 0.08022 0.06125 0.28744) |
| XYZ D65 | color(xyz-d65 0.10686 0.08161 0.28207) |
| XYZ D50 | color(xyz-d50 0.0997 0.07918 0.21232) |
| SwiftUI | Color(red: 0.314, green: 0.275, blue: 0.573) |
| UIKit | UIColor(red: 0.314, green: 0.275, blue: 0.573, alpha: 1) |
| Flutter / Compose | Color(0xFF504692) |
| Android XML | #504692 |

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

## Tints

#504692, #5f589d, #6f6aa9, #7f7cb4, #908ebf, #a2a0ca, #b3b3d5, #c6c5df, #d9d8ea, #ececf5

## Shades

#504692, #443c7e, #39326b, #2e2858, #241e46, #1a1535, #100d25, #070516, #020208, #000001

## Tones

#504692, #50488c, #504a86, #504c80, #504d7a, #514e74, #51506d, #525167, #525261, #53535a

## Harmonies

- Complementary: #504692, #5c5600
- Split: #504692, #764900, #316212
- Analogous: #504692, #205394, #6d3b7f
- Triadic: #504692, #873905, #006745
- Tetradic: #504692, #803361, #5c5600, #006745
- Square: #504692, #89313c, #5c5600, #006365
- Monochromatic: #504692, #180049, #32246d, #7169b8, #948de0

## Questions about #504692

### What color is #504692?

#504692 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 70, 146), in HSL hsl(247.89, 35.19%, 42.35%) and in OKLCH oklch(44.362% 0.12065 286.409).

### What colors go well with #504692?

The complementary color of #504692 is #5c5600. For a calmer combination use the analogous colors #205394 and #6d3b7f. The triadic partners are #873905 and #006745.

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

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

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

#504692 is a cool color. In OKLCH its hue is 286 degrees, its lightness 44.4% and its chroma 0.121.
