# #4d428a color: Moonlight Sonata

#4d428a is rgb(77, 66, 138) in RGB and oklch(42.771% 0.11538 287.5) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d428a |
| RGB | rgb(77, 66, 138) |
| HSL | hsl(249.17, 35.29%, 40%) |
| HSB / HSV | hsv(249.17 52.17% 54.12%) |
| HWB | hwb(249.17 25.88% 45.88%) |
| CMYK | cmyk(44% 52% 0% 46%) |
| Lab | lab(32.03 19.54 -39.31) |
| LCH | lch(32.03 43.9 296.43) |
| OKLab | oklab(42.771% 0.03469 -0.11003) |
| OKLCH | oklch(42.771% 0.11538 287.5) |
| Display P3 | color(display-p3 0.29484 0.26039 0.52369) |
| Rec. 2020 | color(rec2020 0.24443 0.20622 0.47212) |
| Adobe RGB | color(a98-rgb 0.2957 0.26629 0.52845) |
| ProPhoto RGB | color(prophoto-rgb 0.26725 0.21344 0.43944) |
| Linear sRGB | color(srgb-linear 0.07421 0.05448 0.25415) |
| XYZ D65 | color(xyz-d65 0.09596 0.07309 0.24951) |
| XYZ D50 | color(xyz-d50 0.08971 0.07097 0.18781) |
| SwiftUI | Color(red: 0.302, green: 0.259, blue: 0.541) |
| UIKit | UIColor(red: 0.302, green: 0.259, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4D428A) |
| Android XML | #4D428A |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.53:1
- Contrast with black: 2.46:1

## Tints

#4d428a, #5c5496, #6c66a2, #7d79ae, #8e8bba, #a09ec6, #b2b1d1, #c5c4dd, #d8d7e8, #ebebf4

## Shades

#4d428a, #423877, #372f65, #2c2553, #221c42, #181432, #0f0b22, #070514, #020107, #000001

## Tones

#4d428a, #4d4484, #4d467f, #4d4779, #4d4973, #4d4a6d, #4d4b67, #4e4c62, #4e4d5b, #4f4e55

## Harmonies

- Complementary: #4d428a, #565200
- Split: #4d428a, #6f4500, #2c5d14
- Analogous: #4d428a, #214e8d, #683778
- Triadic: #4d428a, #803603, #006143
- Tetradic: #4d428a, #7a305b, #565200, #006143
- Square: #4d428a, #822f37, #565200, #005e61
- Monochromatic: #4d428a, #160042, #2f2065, #6e65b0, #9189d7

## Questions about #4d428a

### What color is #4d428a?

#4d428a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 66, 138), in HSL hsl(249.17, 35.29%, 40%) and in OKLCH oklch(42.771% 0.11538 287.5).

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

The complementary color of #4d428a is #565200. For a calmer combination use the analogous colors #214e8d and #683778. The triadic partners are #803603 and #006143.

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

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

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

#4d428a is a cool color. In OKLCH its hue is 288 degrees, its lightness 42.8% and its chroma 0.115.
