# #4d4585 color: Moonlight Sonata

#4d4585 is rgb(77, 69, 133) in RGB and oklch(43.03% 0.10323 286.951) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4585 |
| RGB | rgb(77, 69, 133) |
| HSL | hsl(247.5, 31.68%, 39.61%) |
| HSB / HSV | hsv(247.5 48.12% 52.16%) |
| HWB | hwb(247.5 27.06% 47.84%) |
| CMYK | cmyk(42% 48% 0% 48%) |
| Lab | lab(32.57 16.48 -35.38) |
| LCH | lch(32.57 39.03 294.98) |
| OKLab | oklab(43.03% 0.0301 -0.09874) |
| OKLCH | oklch(43.03% 0.10323 286.951) |
| Display P3 | color(display-p3 0.29667 0.2717 0.50547) |
| Rec. 2020 | color(rec2020 0.24608 0.21643 0.45289) |
| Adobe RGB | color(a98-rgb 0.29849 0.27721 0.5099) |
| ProPhoto RGB | color(prophoto-rgb 0.2655 0.22069 0.42159) |
| Linear sRGB | color(srgb-linear 0.07421 0.05951 0.23455) |
| XYZ D65 | color(xyz-d65 0.09422 0.07527 0.23148) |
| XYZ D50 | color(xyz-d50 0.08884 0.07339 0.1743) |
| SwiftUI | Color(red: 0.302, green: 0.271, blue: 0.522) |
| UIKit | UIColor(red: 0.302, green: 0.271, blue: 0.522, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4585) |
| Android XML | #4D4585 |

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

## Tints

#4d4585, #5c5791, #6d689e, #7d7aaa, #8f8cb6, #a09fc2, #b2b1cf, #c5c4db, #d8d8e7, #ebebf3

## Shades

#4d4585, #423b73, #373161, #2c2750, #221e40, #181530, #0f0c21, #070513, #020206, #000001

## Tones

#4d4585, #4d4780, #4d487b, #4d4976, #4d4b70, #4e4c6b, #4e4d66, #4e4e60, #4f4e5b, #4f4f55

## Harmonies

- Complementary: #4d4585, #575300
- Split: #4d4585, #6f4600, #325c1e
- Analogous: #4d4585, #275087, #663c75
- Triadic: #4d4585, #7c3b15, #006144
- Tetradic: #4d4585, #77355b, #575300, #006144
- Square: #4d4585, #7f343b, #575300, #005f61
- Monochromatic: #4d4585, #15023e, #2f2461, #6e67ab, #918bd2

## Questions about #4d4585

### What color is #4d4585?

#4d4585 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 69, 133), in HSL hsl(247.5, 31.68%, 39.61%) and in OKLCH oklch(43.03% 0.10323 286.951).

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

The complementary color of #4d4585 is #575300. For a calmer combination use the analogous colors #275087 and #663c75. The triadic partners are #7c3b15 and #006144.

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

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

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

#4d4585 is a cool color. In OKLCH its hue is 287 degrees, its lightness 43% and its chroma 0.103.
