# #51488c color: Moonlight Sonata

#51488c is rgb(81, 72, 140) in RGB and oklch(44.442% 0.10867 287.183) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/51488c

## Formats

| Format | Value |
| --- | --- |
| HEX | #51488c |
| RGB | rgb(81, 72, 140) |
| HSL | hsl(247.94, 32.08%, 41.57%) |
| HSB / HSV | hsv(247.94 48.57% 54.9%) |
| HWB | hwb(247.94 28.24% 45.1%) |
| CMYK | cmyk(42% 49% 0% 45%) |
| Lab | lab(34.12 17.58 -37.18) |
| LCH | lch(34.12 41.13 295.31) |
| OKLab | oklab(44.442% 0.0321 -0.10382) |
| OKLCH | oklch(44.442% 0.10867 287.183) |
| Display P3 | color(display-p3 0.31173 0.28361 0.53202) |
| Rec. 2020 | color(rec2020 0.26194 0.22916 0.48116) |
| Adobe RGB | color(a98-rgb 0.31222 0.28815 0.53638) |
| ProPhoto RGB | color(prophoto-rgb 0.28104 0.23199 0.44833) |
| Linear sRGB | color(srgb-linear 0.08228 0.0648 0.26225) |
| XYZ D65 | color(xyz-d65 0.10444 0.08277 0.25859) |
| XYZ D50 | color(xyz-d50 0.09836 0.08066 0.19471) |
| SwiftUI | Color(red: 0.318, green: 0.282, blue: 0.549) |
| UIKit | UIColor(red: 0.318, green: 0.282, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF51488C) |
| Android XML | #51488C |

## 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.91:1
- Contrast with black: 2.66:1

## Tints

#51488c, #605998, #706ba4, #807daf, #918ebb, #a2a1c6, #b4b3d2, #c6c6dd, #d9d9e8, #ececf4

## Shades

#51488c, #453d79, #3a3367, #2f2955, #241f43, #1a1633, #100d23, #070614, #020207, #000001

## Tones

#51488c, #514a87, #514b81, #514d7c, #514e76, #524f71, #52506b, #525165, #53525f, #53535a

## Harmonies

- Complementary: #51488c, #5b5700
- Split: #51488c, #744a00, #34611f
- Analogous: #51488c, #29538f, #6c3e7b
- Triadic: #51488c, #833d14, #006647
- Tetradic: #51488c, #7d375f, #5b5700, #006647
- Square: #51488c, #85363d, #5b5700, #006366
- Monochromatic: #51488c, #180444, #332767, #726bb2, #958fd9

## Questions about #51488c

### What color is #51488c?

#51488c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(81, 72, 140), in HSL hsl(247.94, 32.08%, 41.57%) and in OKLCH oklch(44.442% 0.10867 287.183).

### What colors go well with #51488c?

The complementary color of #51488c is #5b5700. For a calmer combination use the analogous colors #29538f and #6c3e7b. The triadic partners are #833d14 and #006647.

### Is white or black text more readable on #51488c?

White text reads better on #51488c: white gives a contrast ratio of 7.91:1 and black gives 2.66:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #51488c a warm or cool color?

#51488c is a cool color. In OKLCH its hue is 287 degrees, its lightness 44.4% and its chroma 0.109.
