# #4c4386 color: Moonlight Sonata

#4c4386 is rgb(76, 67, 134) in RGB and oklch(42.606% 0.10797 287.044) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4386 |
| RGB | rgb(76, 67, 134) |
| HSL | hsl(248.06, 33.33%, 39.41%) |
| HSB / HSV | hsv(248.06 50% 52.55%) |
| HWB | hwb(248.06 26.27% 47.45%) |
| CMYK | cmyk(43% 50% 0% 47%) |
| Lab | lab(31.98 17.65 -36.93) |
| LCH | lch(31.98 40.93 295.54) |
| OKLab | oklab(42.606% 0.03165 -0.10322) |
| OKLCH | oklch(42.606% 0.10797 287.044) |
| Display P3 | color(display-p3 0.29214 0.26401 0.50889) |
| Rec. 2020 | color(rec2020 0.24164 0.20905 0.45645) |
| Adobe RGB | color(a98-rgb 0.29389 0.26993 0.5135) |
| ProPhoto RGB | color(prophoto-rgb 0.26291 0.21498 0.42479) |
| Linear sRGB | color(srgb-linear 0.07227 0.05613 0.2384) |
| XYZ D65 | color(xyz-d65 0.0929 0.07272 0.23469) |
| XYZ D50 | color(xyz-d50 0.08724 0.07077 0.17669) |
| SwiftUI | Color(red: 0.298, green: 0.263, blue: 0.525) |
| UIKit | UIColor(red: 0.298, green: 0.263, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4386) |
| Android XML | #4C4386 |

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

## Tints

#4c4386, #5b5592, #6c679f, #7c79ab, #8e8bb7, #a09ec3, #b2b1cf, #c5c4db, #d8d7e7, #ebebf3

## Shades

#4c4386, #413974, #362f62, #2c2651, #221d40, #181430, #0f0c21, #060513, #020106, #000001

## Tones

#4c4386, #4c4581, #4c467b, #4c4876, #4c4971, #4d4a6b, #4d4b66, #4d4c60, #4e4d5a, #4e4e54

## Harmonies

- Complementary: #4c4386, #565200
- Split: #4c4386, #6f4400, #2f5c19
- Analogous: #4c4386, #244e89, #663975
- Triadic: #4c4386, #7d380e, #006042
- Tetradic: #4c4386, #77325a, #565200, #006042
- Square: #4c4386, #7f3139, #565200, #005d60
- Monochromatic: #4c4386, #14003f, #2e2262, #6d65ac, #9089d3

## Questions about #4c4386

### What color is #4c4386?

#4c4386 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 67, 134), in HSL hsl(248.06, 33.33%, 39.41%) and in OKLCH oklch(42.606% 0.10797 287.044).

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

The complementary color of #4c4386 is #565200. For a calmer combination use the analogous colors #244e89 and #663975. The triadic partners are #7d380e and #006042.

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

White text reads better on #4c4386: 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 #4c4386 a warm or cool color?

#4c4386 is a cool color. In OKLCH its hue is 287 degrees, its lightness 42.6% and its chroma 0.108.
