# #51428e color: Moonlight Sonata

#51428e is rgb(81, 66, 142) in RGB and oklch(43.418% 0.12101 289.461) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/51428e

## Formats

| Format | Value |
| --- | --- |
| HEX | #51428e |
| RGB | rgb(81, 66, 142) |
| HSL | hsl(251.84, 36.54%, 40.78%) |
| HSB / HSV | hsv(251.84 53.52% 55.69%) |
| HWB | hwb(251.84 25.88% 44.31%) |
| CMYK | cmyk(43% 54% 0% 44%) |
| Lab | lab(32.65 21.69 -40.74) |
| LCH | lch(32.65 46.16 298.03) |
| OKLab | oklab(43.418% 0.04032 -0.1141) |
| OKLCH | oklch(43.418% 0.12101 289.461) |
| Display P3 | color(display-p3 0.30816 0.26103 0.53872) |
| Rec. 2020 | color(rec2020 0.25601 0.20797 0.4881) |
| Adobe RGB | color(a98-rgb 0.30676 0.26629 0.5435) |
| ProPhoto RGB | color(prophoto-rgb 0.27758 0.21583 0.45455) |
| Linear sRGB | color(srgb-linear 0.08228 0.05448 0.2705) |
| XYZ D65 | color(xyz-d65 0.10223 0.07599 0.2652) |
| XYZ D50 | color(xyz-d50 0.09557 0.07376 0.1996) |
| SwiftUI | Color(red: 0.318, green: 0.259, blue: 0.557) |
| UIKit | UIColor(red: 0.318, green: 0.259, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF51428E) |
| Android XML | #51428E |

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

## Tints

#51428e, #60549a, #7067a5, #8079b1, #918bbc, #a29ec8, #b4b1d3, #c6c4de, #d9d7e9, #ecebf4

## Shades

#51428e, #45387b, #3a2f68, #2f2556, #241c44, #1a1434, #100b24, #070515, #020107, #000001

## Tones

#51428e, #514488, #504682, #50487c, #504a76, #504b70, #504d6a, #504e64, #504f5e, #505057

## Harmonies

- Complementary: #51428e, #565500
- Split: #51428e, #704800, #276016
- Analogous: #51428e, #244f92, #6d377a
- Triadic: #51428e, #833700, #006347
- Tetradic: #51428e, #7f2f5b, #565500, #006347
- Square: #51428e, #872e35, #565500, #005f65
- Monochromatic: #51428e, #190046, #332069, #7265b4, #9589dc

## Questions about #51428e

### What color is #51428e?

#51428e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 66, 142), in HSL hsl(251.84, 36.54%, 40.78%) and in OKLCH oklch(43.418% 0.12101 289.461).

### What colors go well with #51428e?

The complementary color of #51428e is #565500. For a calmer combination use the analogous colors #244f92 and #6d377a. The triadic partners are #833700 and #006347.

### Is white or black text more readable on #51428e?

White text reads better on #51428e: white gives a contrast ratio of 8.33:1 and black gives 2.52:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #51428e a warm or cool color?

#51428e is a cool color. In OKLCH its hue is 289 degrees, its lightness 43.4% and its chroma 0.121.
