# #4c4286 color: Moonlight Sonata

#4c4286 is rgb(76, 66, 134) in RGB and oklch(42.408% 0.10955 287.53) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4286 |
| RGB | rgb(76, 66, 134) |
| HSL | hsl(248.82, 34%, 39.22%) |
| HSB / HSV | hsv(248.82 50.75% 52.55%) |
| HWB | hwb(248.82 25.88% 47.45%) |
| CMYK | cmyk(43% 51% 0% 47%) |
| Lab | lab(31.71 18.26 -37.36) |
| LCH | lch(31.71 41.58 296.05) |
| OKLab | oklab(42.408% 0.033 -0.10446) |
| OKLCH | oklch(42.408% 0.10955 287.53) |
| Display P3 | color(display-p3 0.29153 0.26024 0.50877) |
| Rec. 2020 | color(rec2020 0.24051 0.20548 0.45629) |
| Adobe RGB | color(a98-rgb 0.29296 0.26629 0.51343) |
| ProPhoto RGB | color(prophoto-rgb 0.26203 0.21223 0.42458) |
| Linear sRGB | color(srgb-linear 0.07227 0.05448 0.2384) |
| XYZ D65 | color(xyz-d65 0.09231 0.07154 0.2345) |
| XYZ D50 | color(xyz-d50 0.08661 0.06959 0.17653) |
| SwiftUI | Color(red: 0.298, green: 0.259, blue: 0.525) |
| UIKit | UIColor(red: 0.298, green: 0.259, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4286) |
| Android XML | #4C4286 |

## 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.64:1
- Contrast with black: 2.43:1

## Tints

#4c4286, #5b5492, #6c669f, #7c78ab, #8e8bb7, #a09dc3, #b2b0cf, #c5c4db, #d8d7e7, #ebebf3

## Shades

#4c4286, #413874, #362f62, #2c2551, #221c40, #181430, #0f0b21, #060513, #020106, #000001

## Tones

#4c4286, #4c4481, #4c457b, #4c4776, #4c4870, #4c4a6b, #4c4b65, #4d4c60, #4d4d5a, #4e4d54

## Harmonies

- Complementary: #4c4286, #555100
- Split: #4c4286, #6e4400, #2d5b18
- Analogous: #4c4286, #234d89, #663875
- Triadic: #4c4286, #7c370a, #006042
- Tetradic: #4c4286, #773159, #555100, #006042
- Square: #4c4286, #7f3037, #555100, #005d60
- Monochromatic: #4c4286, #15003f, #2e2162, #6d64ac, #9088d3

## Questions about #4c4286

### What color is #4c4286?

#4c4286 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 66, 134), in HSL hsl(248.82, 34%, 39.22%) and in OKLCH oklch(42.408% 0.10955 287.53).

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

The complementary color of #4c4286 is #555100. For a calmer combination use the analogous colors #234d89 and #663875. The triadic partners are #7c370a and #006042.

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

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

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

#4c4286 is a cool color. In OKLCH its hue is 288 degrees, its lightness 42.4% and its chroma 0.11.
