# #4d498a color: Moonlight Sonata

#4d498a is rgb(77, 73, 138) in RGB and oklch(44.163% 0.10447 284.047) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d498a |
| RGB | rgb(77, 73, 138) |
| HSL | hsl(243.69, 30.81%, 41.37%) |
| HSB / HSV | hsv(243.69 47.1% 54.12%) |
| HWB | hwb(243.69 28.63% 45.88%) |
| CMYK | cmyk(44% 47% 0% 46%) |
| Lab | lab(33.92 15.27 -36.31) |
| LCH | lch(33.92 39.39 292.81) |
| OKLab | oklab(44.163% 0.02536 -0.10135) |
| OKLCH | oklch(44.163% 0.10447 284.047) |
| Display P3 | color(display-p3 0.29925 0.28681 0.52458) |
| Rec. 2020 | color(rec2020 0.25251 0.23137 0.47329) |
| Adobe RGB | color(a98-rgb 0.30239 0.29181 0.52893) |
| ProPhoto RGB | color(prophoto-rgb 0.27359 0.23301 0.44097) |
| Linear sRGB | color(srgb-linear 0.07421 0.06663 0.25415) |
| XYZ D65 | color(xyz-d65 0.1003 0.08178 0.25096) |
| XYZ D50 | color(xyz-d50 0.09439 0.07968 0.18899) |
| SwiftUI | Color(red: 0.302, green: 0.286, blue: 0.541) |
| UIKit | UIColor(red: 0.302, green: 0.286, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4D498A) |
| Android XML | #4D498A |

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

## Tints

#4d498a, #5c5a96, #6d6ca2, #7d7dae, #8e8fb9, #a0a1c5, #b2b3d1, #c5c6dc, #d8d9e8, #ebecf4

## Shades

#4d498a, #423e77, #373465, #2c2a53, #222042, #181732, #0f0e22, #070614, #020207, #000001

## Tones

#4d498a, #4d4a85, #4e4c7f, #4e4d7a, #4f4e75, #4f4f6f, #50506a, #505164, #51525e, #525259

## Harmonies

- Complementary: #4d498a, #5d5500
- Split: #4d498a, #744800, #395f1c
- Analogous: #4d498a, #25548b, #683f7b
- Triadic: #4d498a, #813d1c, #006443
- Tetradic: #4d498a, #7a3861, #5d5500, #006443
- Square: #4d498a, #823741, #5d5500, #006262
- Monochromatic: #4d498a, #150543, #2f2865, #6e6cb0, #9190d7

## Questions about #4d498a

### What color is #4d498a?

#4d498a is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 138), in HSL hsl(243.69, 30.81%, 41.37%) and in OKLCH oklch(44.163% 0.10447 284.047).

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

The complementary color of #4d498a is #5d5500. For a calmer combination use the analogous colors #25548b and #683f7b. The triadic partners are #813d1c and #006443.

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

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

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

#4d498a is a cool color. In OKLCH its hue is 284 degrees, its lightness 44.2% and its chroma 0.104.
