# #4c4486 color: Moonlight Sonata

#4c4486 is rgb(76, 68, 134) in RGB and oklch(42.805% 0.10639 286.543) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4486 |
| RGB | rgb(76, 68, 134) |
| HSL | hsl(247.27, 32.67%, 39.61%) |
| HSB / HSV | hsv(247.27 49.25% 52.55%) |
| HWB | hwb(247.27 26.67% 47.45%) |
| CMYK | cmyk(43% 49% 0% 47%) |
| Lab | lab(32.25 17.03 -36.5) |
| LCH | lch(32.25 40.28 295.02) |
| OKLab | oklab(42.805% 0.03029 -0.10198) |
| OKLCH | oklch(42.805% 0.10639 286.543) |
| Display P3 | color(display-p3 0.29276 0.26778 0.50902) |
| Rec. 2020 | color(rec2020 0.24278 0.21263 0.45662) |
| Adobe RGB | color(a98-rgb 0.29483 0.27356 0.51357) |
| ProPhoto RGB | color(prophoto-rgb 0.26381 0.21775 0.42501) |
| Linear sRGB | color(srgb-linear 0.07227 0.05781 0.2384) |
| XYZ D65 | color(xyz-d65 0.0935 0.07392 0.23489) |
| XYZ D50 | color(xyz-d50 0.08789 0.07197 0.17686) |
| SwiftUI | Color(red: 0.298, green: 0.267, blue: 0.525) |
| UIKit | UIColor(red: 0.298, green: 0.267, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4486) |
| Android XML | #4C4486 |

## 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.47:1
- Contrast with black: 2.48:1

## Tints

#4c4486, #5b5692, #6c689f, #7c7aab, #8e8cb7, #a09ec3, #b2b1cf, #c5c4db, #d8d8e7, #ebebf3

## Shades

#4c4486, #413a74, #363062, #2c2651, #221d40, #181430, #0f0c21, #060513, #020206, #000001

## Tones

#4c4486, #4c4681, #4c477b, #4c4976, #4d4a71, #4d4b6b, #4d4c66, #4e4d60, #4e4e5b, #4f4e55

## Harmonies

- Complementary: #4c4486, #575200
- Split: #4c4486, #6f4500, #315c1a
- Analogous: #4c4486, #244f88, #663a76
- Triadic: #4c4486, #7d3912, #006142
- Tetradic: #4c4486, #77345b, #575200, #006142
- Square: #4c4486, #7f323a, #575200, #005e60
- Monochromatic: #4c4486, #14013f, #2e2362, #6d66ac, #908ad3

## Questions about #4c4486

### What color is #4c4486?

#4c4486 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 68, 134), in HSL hsl(247.27, 32.67%, 39.61%) and in OKLCH oklch(42.805% 0.10639 286.543).

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

The complementary color of #4c4486 is #575200. For a calmer combination use the analogous colors #244f88 and #663a76. The triadic partners are #7d3912 and #006142.

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

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

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

#4c4486 is a cool color. In OKLCH its hue is 287 degrees, its lightness 42.8% and its chroma 0.106.
