# #4c428d color: Moonlight Sonata

#4c428d is rgb(76, 66, 141) in RGB and oklch(42.889% 0.11982 286.289) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c428d |
| RGB | rgb(76, 66, 141) |
| HSL | hsl(248, 36.23%, 40.59%) |
| HSB / HSV | hsv(248 53.19% 55.29%) |
| HWB | hwb(248 25.88% 44.71%) |
| CMYK | cmyk(46% 53% 0% 45%) |
| Lab | lab(32.1 20 -41.04) |
| LCH | lch(32.1 45.66 295.98) |
| OKLab | oklab(42.889% 0.03361 -0.11501) |
| OKLCH | oklch(42.889% 0.11982 286.289) |
| Display P3 | color(display-p3 0.29153 0.26024 0.53482) |
| Rec. 2020 | color(rec2020 0.24302 0.20623 0.48396) |
| Adobe RGB | color(a98-rgb 0.29296 0.26629 0.53973) |
| ProPhoto RGB | color(prophoto-rgb 0.26834 0.21373 0.45062) |
| Linear sRGB | color(srgb-linear 0.07227 0.05448 0.26636) |
| XYZ D65 | color(xyz-d65 0.09736 0.07356 0.26107) |
| XYZ D50 | color(xyz-d50 0.09061 0.07128 0.1965) |
| SwiftUI | Color(red: 0.298, green: 0.259, blue: 0.553) |
| UIKit | UIColor(red: 0.298, green: 0.259, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4C428D) |
| Android XML | #4C428D |

## 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.5:1
- Contrast with black: 2.47:1

## Tints

#4c428d, #5b5499, #6b66a5, #7c79b0, #8d8bbc, #9f9ec7, #b2b1d3, #c4c4de, #d8d7e9, #ebebf4

## Shades

#4c428d, #41387a, #362f67, #2c2555, #221c44, #181433, #0f0b23, #060514, #020107, #000001

## Tones

#4c428d, #4c4487, #4c4681, #4c487b, #4c4975, #4d4b6f, #4d4c69, #4e4d63, #4e4e5c, #4f4f56

## Harmonies

- Complementary: #4c428d, #585200
- Split: #4c428d, #714500, #2d5d0d
- Analogous: #4c428d, #1c4f8f, #69377b
- Triadic: #4c428d, #823500, #006241
- Tetradic: #4c428d, #7b2f5d, #585200, #006241
- Square: #4c428d, #842d38, #585200, #005e60
- Monochromatic: #4c428d, #150045, #2e2068, #6d65b3, #8f89db

## Questions about #4c428d

### What color is #4c428d?

#4c428d is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 66, 141), in HSL hsl(248, 36.23%, 40.59%) and in OKLCH oklch(42.889% 0.11982 286.289).

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

The complementary color of #4c428d is #585200. For a calmer combination use the analogous colors #1c4f8f and #69377b. The triadic partners are #823500 and #006241.

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

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

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

#4c428d is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.9% and its chroma 0.12.
