# #4d4987 color: Moonlight Sonata

#4d4987 is rgb(77, 73, 135) in RGB and oklch(43.972% 0.09993 284.428) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/4d4987

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4987 |
| RGB | rgb(77, 73, 135) |
| HSL | hsl(243.87, 29.81%, 40.78%) |
| HSB / HSV | hsv(243.87 45.93% 52.94%) |
| HWB | hwb(243.87 28.63% 47.06%) |
| CMYK | cmyk(43% 46% 0% 47%) |
| Lab | lab(33.77 14.53 -34.71) |
| LCH | lch(33.77 37.63 292.72) |
| OKLab | oklab(43.972% 0.0249 -0.09677) |
| OKLCH | oklch(43.972% 0.09993 284.428) |
| Display P3 | color(display-p3 0.29925 0.28681 0.51344) |
| Rec. 2020 | color(rec2020 0.25148 0.23108 0.46147) |
| Adobe RGB | color(a98-rgb 0.30239 0.29181 0.51768) |
| ProPhoto RGB | color(prophoto-rgb 0.27097 0.23241 0.42987) |
| Linear sRGB | color(srgb-linear 0.07421 0.06663 0.24228) |
| XYZ D65 | color(xyz-d65 0.09816 0.08092 0.23967) |
| XYZ D50 | color(xyz-d50 0.09269 0.07896 0.18051) |
| SwiftUI | Color(red: 0.302, green: 0.286, blue: 0.529) |
| UIKit | UIColor(red: 0.302, green: 0.286, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4987) |
| Android XML | #4D4987 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.02:1
- Contrast with black: 2.62:1

## Tints

#4d4987, #5c5a93, #6d6b9f, #7d7dab, #8f8fb7, #a0a1c3, #b3b3cf, #c5c6db, #d8d9e7, #ebecf3

## Shades

#4d4987, #423e75, #373463, #2c2a51, #222041, #181731, #0f0e21, #070613, #020206, #000001

## Tones

#4d4987, #4d4a82, #4e4c7d, #4e4d78, #4e4e73, #4f4f6d, #505068, #505063, #51515d, #525258

## Harmonies

- Complementary: #4d4987, #5c5400
- Split: #4d4987, #724800, #3a5e20
- Analogous: #4d4987, #275388, #674078
- Triadic: #4d4987, #7e3e1f, #006344
- Tetradic: #4d4987, #78395f, #5c5400, #006344
- Square: #4d4987, #803841, #5c5400, #006262
- Monochromatic: #4d4987, #150640, #2f2863, #6e6bad, #9190d4

## Questions about #4d4987

### What color is #4d4987?

#4d4987 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 135), in HSL hsl(243.87, 29.81%, 40.78%) and in OKLCH oklch(43.972% 0.09993 284.428).

### What colors go well with #4d4987?

The complementary color of #4d4987 is #5c5400. For a calmer combination use the analogous colors #275388 and #674078. The triadic partners are #7e3e1f and #006344.

### Is white or black text more readable on #4d4987?

White text reads better on #4d4987: white gives a contrast ratio of 8.02:1 and black gives 2.62:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #4d4987 a warm or cool color?

#4d4987 is a cool color. In OKLCH its hue is 284 degrees, its lightness 44% and its chroma 0.1.
