# #4c428a color: Moonlight Sonata

#4c428a is rgb(76, 66, 138) in RGB and oklch(42.68% 0.11544 286.805) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c428a |
| RGB | rgb(76, 66, 138) |
| HSL | hsl(248.33, 35.29%, 40%) |
| HSB / HSV | hsv(248.33 52.17% 54.12%) |
| HWB | hwb(248.33 25.88% 45.88%) |
| CMYK | cmyk(45% 52% 0% 46%) |
| Lab | lab(31.93 19.25 -39.47) |
| LCH | lch(31.93 43.91 295.99) |
| OKLab | oklab(42.68% 0.03337 -0.11051) |
| OKLCH | oklch(42.68% 0.11544 286.805) |
| Display P3 | color(display-p3 0.29153 0.26024 0.52365) |
| Rec. 2020 | color(rec2020 0.24192 0.2059 0.47208) |
| Adobe RGB | color(a98-rgb 0.29296 0.26629 0.52845) |
| ProPhoto RGB | color(prophoto-rgb 0.2656 0.21308 0.4394) |
| Linear sRGB | color(srgb-linear 0.07227 0.05448 0.25415) |
| XYZ D65 | color(xyz-d65 0.09516 0.07268 0.24947) |
| XYZ D50 | color(xyz-d50 0.08886 0.07054 0.18779) |
| SwiftUI | Color(red: 0.298, green: 0.259, blue: 0.541) |
| UIKit | UIColor(red: 0.298, green: 0.259, blue: 0.541, alpha: 1) |
| Flutter / Compose | Color(0xFF4C428A) |
| Android XML | #4C428A |

## 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.56:1
- Contrast with black: 2.45:1

## Tints

#4c428a, #5b5496, #6b66a2, #7c79ae, #8e8bba, #9f9ec6, #b2b1d1, #c4c4dd, #d8d7e8, #ebebf4

## Shades

#4c428a, #413877, #362f65, #2c2553, #221c42, #181432, #0f0b22, #060514, #020107, #000001

## Tones

#4c428a, #4c4484, #4c467f, #4c4779, #4c4973, #4c4a6d, #4d4b67, #4d4c61, #4e4d5b, #4e4e55

## Harmonies

- Complementary: #4c428a, #575200
- Split: #4c428a, #6f4500, #2d5c12
- Analogous: #4c428a, #1f4e8d, #683778
- Triadic: #4c428a, #803604, #006141
- Tetradic: #4c428a, #7a305b, #575200, #006141
- Square: #4c428a, #822e38, #575200, #005d60
- Monochromatic: #4c428a, #150042, #2e2065, #6d65b0, #8f89d7

## Questions about #4c428a

### What color is #4c428a?

#4c428a is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 66, 138), in HSL hsl(248.33, 35.29%, 40%) and in OKLCH oklch(42.68% 0.11544 286.805).

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

The complementary color of #4c428a is #575200. For a calmer combination use the analogous colors #1f4e8d and #683778. The triadic partners are #803604 and #006141.

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

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

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

#4c428a is a cool color. In OKLCH its hue is 287 degrees, its lightness 42.7% and its chroma 0.115.
