# #4d498c color: Moonlight Sonata

#4d498c is rgb(77, 73, 140) in RGB and oklch(44.292% 0.10748 283.801) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d498c |
| RGB | rgb(77, 73, 140) |
| HSL | hsl(243.58, 31.46%, 41.76%) |
| HSB / HSV | hsv(243.58 47.86% 54.9%) |
| HWB | hwb(243.58 28.63% 45.1%) |
| CMYK | cmyk(45% 48% 0% 45%) |
| Lab | lab(34.02 15.77 -37.37) |
| LCH | lch(34.02 40.56 292.88) |
| OKLab | oklab(44.292% 0.02564 -0.10438) |
| OKLCH | oklch(44.292% 0.10748 283.801) |
| Display P3 | color(display-p3 0.29925 0.28681 0.53201) |
| Rec. 2020 | color(rec2020 0.25321 0.23157 0.48119) |
| Adobe RGB | color(a98-rgb 0.30239 0.29181 0.53645) |
| ProPhoto RGB | color(prophoto-rgb 0.27537 0.23341 0.44841) |
| Linear sRGB | color(srgb-linear 0.07421 0.06663 0.26225) |
| XYZ D65 | color(xyz-d65 0.10176 0.08236 0.25865) |
| XYZ D50 | color(xyz-d50 0.09555 0.08017 0.19477) |
| SwiftUI | Color(red: 0.302, green: 0.286, blue: 0.549) |
| UIKit | UIColor(red: 0.302, green: 0.286, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4D498C) |
| Android XML | #4D498C |

## 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.93:1
- Contrast with black: 2.65:1

## Tints

#4d498c, #5c5a98, #6c6ca4, #7d7daf, #8e8fbb, #a0a1c6, #b2b3d2, #c5c6dd, #d8d9e8, #ebecf4

## Shades

#4d498c, #423e79, #373467, #2c2a55, #222043, #181733, #0f0e23, #070614, #020207, #000001

## Tones

#4d498c, #4d4b87, #4e4c81, #4e4d7c, #4f4e76, #4f4f70, #50506b, #515165, #51525f, #525359

## Harmonies

- Complementary: #4d498c, #5e5500
- Split: #4d498c, #764800, #39601a
- Analogous: #4d498c, #23548d, #683f7c
- Triadic: #4d498c, #823c1b, #006543
- Tetradic: #4d498c, #7b3862, #5e5500, #006543
- Square: #4d498c, #843641, #5e5500, #006362
- Monochromatic: #4d498c, #150544, #2f2867, #6e6cb2, #9190d9

## Questions about #4d498c

### What color is #4d498c?

#4d498c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 140), in HSL hsl(243.58, 31.46%, 41.76%) and in OKLCH oklch(44.292% 0.10748 283.801).

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

The complementary color of #4d498c is #5e5500. For a calmer combination use the analogous colors #23548d and #683f7c. The triadic partners are #823c1b and #006543.

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

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

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

#4d498c is a cool color. In OKLCH its hue is 284 degrees, its lightness 44.3% and its chroma 0.107.
