# #514792 color: Moonlight Sonata

#514792 is rgb(81, 71, 146) in RGB and oklch(44.643% 0.11904 286.64) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #514792 |
| RGB | rgb(81, 71, 146) |
| HSL | hsl(248, 34.56%, 42.55%) |
| HSB / HSV | hsv(248 51.37% 57.25%) |
| HWB | hwb(248 27.84% 42.75%) |
| CMYK | cmyk(45% 51% 0% 43%) |
| Lab | lab(34.17 19.65 -40.75) |
| LCH | lch(34.17 45.24 295.75) |
| OKLab | oklab(44.643% 0.03409 -0.11406) |
| OKLCH | oklch(44.643% 0.11904 286.64) |
| Display P3 | color(display-p3 0.31111 0.27984 0.55421) |
| Rec. 2020 | color(rec2020 0.2629 0.22619 0.50476) |
| Adobe RGB | color(a98-rgb 0.31128 0.2845 0.55892) |
| ProPhoto RGB | color(prophoto-rgb 0.28554 0.23045 0.47068) |
| Linear sRGB | color(srgb-linear 0.08228 0.06301 0.28744) |
| XYZ D65 | color(xyz-d65 0.10834 0.08331 0.28232) |
| XYZ D50 | color(xyz-d50 0.10128 0.0809 0.21252) |
| SwiftUI | Color(red: 0.318, green: 0.278, blue: 0.573) |
| UIKit | UIColor(red: 0.318, green: 0.278, blue: 0.573, alpha: 1) |
| Flutter / Compose | Color(0xFF514792) |
| Android XML | #514792 |

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

## Tints

#514792, #60599d, #706ba9, #807cb4, #918ebf, #a2a1ca, #b4b3d5, #c6c6df, #d9d9ea, #ececf5

## Shades

#514792, #453d7e, #3a326b, #2f2858, #241f46, #1a1635, #100d25, #070616, #020208, #000001

## Tones

#514792, #51498c, #514b86, #514c80, #514e7a, #524f74, #52516e, #525268, #535361, #54535b

## Harmonies

- Complementary: #514792, #5d5700
- Split: #514792, #774900, #316216
- Analogous: #514792, #235495, #6e3c7f
- Triadic: #514792, #873a08, #006746
- Tetradic: #514792, #813461, #5d5700, #006746
- Square: #514792, #8a333c, #5d5700, #006466
- Monochromatic: #514792, #190049, #33256d, #726ab8, #958ee0

## Questions about #514792

### What color is #514792?

#514792 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 71, 146), in HSL hsl(248, 34.56%, 42.55%) and in OKLCH oklch(44.643% 0.11904 286.64).

### What colors go well with #514792?

The complementary color of #514792 is #5d5700. For a calmer combination use the analogous colors #235495 and #6e3c7f. The triadic partners are #873a08 and #006746.

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

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

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

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