# #514190 color: Moonlight Sonata

#514190 is rgb(81, 65, 144) in RGB and oklch(43.371% 0.12541 289.436) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #514190 |
| RGB | rgb(81, 65, 144) |
| HSL | hsl(252.15, 37.8%, 40.98%) |
| HSB / HSV | hsv(252.15 54.86% 56.47%) |
| HWB | hwb(252.15 25.49% 43.53%) |
| CMYK | cmyk(44% 55% 0% 44%) |
| Lab | lab(32.5 22.78 -42.19) |
| LCH | lch(32.5 47.95 298.36) |
| OKLab | oklab(43.371% 0.04173 -0.11826) |
| OKLCH | oklch(43.371% 0.12541 289.436) |
| Display P3 | color(display-p3 0.3076 0.25727 0.54605) |
| Rec. 2020 | color(rec2020 0.25568 0.20468 0.49589) |
| Adobe RGB | color(a98-rgb 0.30589 0.26266 0.55098) |
| ProPhoto RGB | color(prophoto-rgb 0.27857 0.21359 0.46189) |
| Linear sRGB | color(srgb-linear 0.08228 0.05286 0.27889) |
| XYZ D65 | color(xyz-d65 0.10317 0.07543 0.27299) |
| XYZ D50 | color(xyz-d50 0.09614 0.07311 0.20544) |
| SwiftUI | Color(red: 0.318, green: 0.255, blue: 0.565) |
| UIKit | UIColor(red: 0.318, green: 0.255, blue: 0.565, alpha: 1) |
| Flutter / Compose | Color(0xFF514190) |
| Android XML | #514190 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.37:1
- Contrast with black: 2.51:1

## Tints

#514190, #60549c, #7066a7, #8078b3, #918bbe, #a29ec9, #b4b1d4, #c6c4df, #d9d7ea, #ecebf4

## Shades

#514190, #45377d, #3a2e6a, #2f2557, #241c45, #1a1334, #100b24, #070515, #020107, #000001

## Tones

#514190, #51438a, #504684, #50487e, #504977, #504b71, #504c6b, #504e65, #504f5e, #505057

## Harmonies

- Complementary: #514190, #565500
- Split: #514190, #704800, #256011
- Analogous: #514190, #224e94, #6e367b
- Triadic: #514190, #853600, #006347
- Tetradic: #514190, #802d5b, #565500, #006347
- Square: #514190, #882c34, #565500, #005f64
- Monochromatic: #514190, #190047, #331e6b, #7264b6, #9588de

## Questions about #514190

### What color is #514190?

#514190 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 65, 144), in HSL hsl(252.15, 37.8%, 40.98%) and in OKLCH oklch(43.371% 0.12541 289.436).

### What colors go well with #514190?

The complementary color of #514190 is #565500. For a calmer combination use the analogous colors #224e94 and #6e367b. The triadic partners are #853600 and #006347.

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

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

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

#514190 is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.4% and its chroma 0.125.
