# #4d4988 color: Moonlight Sonata

#4d4988 is rgb(77, 73, 136) in RGB and oklch(44.035% 0.10144 284.299) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4988 |
| RGB | rgb(77, 73, 136) |
| HSL | hsl(243.81, 30.14%, 40.98%) |
| HSB / HSV | hsv(243.81 46.32% 53.33%) |
| HWB | hwb(243.81 28.63% 46.67%) |
| CMYK | cmyk(43% 46% 0% 47%) |
| Lab | lab(33.82 14.78 -35.24) |
| LCH | lch(33.82 38.22 292.75) |
| OKLab | oklab(44.035% 0.02506 -0.0983) |
| OKLCH | oklch(44.035% 0.10144 284.299) |
| Display P3 | color(display-p3 0.29925 0.28681 0.51715) |
| Rec. 2020 | color(rec2020 0.25182 0.23118 0.46541) |
| Adobe RGB | color(a98-rgb 0.30239 0.29181 0.52143) |
| ProPhoto RGB | color(prophoto-rgb 0.27183 0.23261 0.43356) |
| Linear sRGB | color(srgb-linear 0.07421 0.06663 0.2462) |
| XYZ D65 | color(xyz-d65 0.09886 0.0812 0.2434) |
| XYZ D50 | color(xyz-d50 0.09325 0.0792 0.18331) |
| SwiftUI | Color(red: 0.302, green: 0.286, blue: 0.533) |
| UIKit | UIColor(red: 0.302, green: 0.286, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4988) |
| Android XML | #4D4988 |

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

## Tints

#4d4988, #5c5a94, #6d6ca0, #7d7dac, #8f8fb8, #a0a1c4, #b2b3d0, #c5c6dc, #d8d9e7, #ebecf3

## Shades

#4d4988, #423e75, #373463, #2c2a52, #222041, #181731, #0f0e22, #070613, #020206, #000001

## Tones

#4d4988, #4d4a83, #4e4c7e, #4e4d78, #4f4e73, #4f4f6e, #505069, #505163, #51515e, #525258

## Harmonies

- Complementary: #4d4988, #5c5500
- Split: #4d4988, #734800, #3a5e1f
- Analogous: #4d4988, #275489, #674079
- Triadic: #4d4988, #7f3d1e, #006343
- Tetradic: #4d4988, #783960, #5c5500, #006343
- Square: #4d4988, #813841, #5c5500, #006262
- Monochromatic: #4d4988, #150641, #2f2864, #6e6bae, #9190d5

## Questions about #4d4988

### What color is #4d4988?

#4d4988 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 136), in HSL hsl(243.81, 30.14%, 40.98%) and in OKLCH oklch(44.035% 0.10144 284.299).

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

The complementary color of #4d4988 is #5c5500. For a calmer combination use the analogous colors #275489 and #674079. The triadic partners are #7f3d1e and #006343.

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

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

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

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