# #4a4284 color: Moonlight Sonata

#4a4284 is rgb(74, 66, 132) in RGB and oklch(42.093% 0.1067 286.411) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a4284 |
| RGB | rgb(74, 66, 132) |
| HSL | hsl(247.27, 33.33%, 38.82%) |
| HSB / HSV | hsv(247.27 50% 51.76%) |
| HWB | hwb(247.27 25.88% 48.24%) |
| CMYK | cmyk(44% 50% 0% 48%) |
| Lab | lab(31.41 17.16 -36.61) |
| LCH | lch(31.41 40.44 295.11) |
| OKLab | oklab(42.093% 0.03015 -0.10236) |
| OKLCH | oklch(42.093% 0.1067 286.411) |
| Display P3 | color(display-p3 0.28492 0.25994 0.50126) |
| Rec. 2020 | color(rec2020 0.23482 0.20465 0.44833) |
| Adobe RGB | color(a98-rgb 0.28752 0.26629 0.50594) |
| ProPhoto RGB | color(prophoto-rgb 0.25699 0.21109 0.41715) |
| Linear sRGB | color(srgb-linear 0.06848 0.05448 0.23074) |
| XYZ D65 | color(xyz-d65 0.08937 0.07018 0.22714) |
| XYZ D50 | color(xyz-d50 0.08386 0.06828 0.17101) |
| SwiftUI | Color(red: 0.29, green: 0.259, blue: 0.518) |
| UIKit | UIColor(red: 0.29, green: 0.259, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF4A4284) |
| Android XML | #4A4284 |

## 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.74:1
- Contrast with black: 2.4:1

## Tints

#4a4284, #5a5491, #6a669d, #7b78a9, #8c8bb6, #9e9dc2, #b1b0ce, #c4c4db, #d7d7e7, #ebebf3

## Shades

#4a4284, #3f3872, #352f60, #2a254f, #201c3f, #17142f, #0e0b20, #060512, #020106, #000001

## Tones

#4a4284, #4a447f, #4a4579, #4a4774, #4b486f, #4b4969, #4b4a64, #4c4b5e, #4c4c59, #4d4d53

## Harmonies

- Complementary: #4a4284, #555000
- Split: #4a4284, #6d4300, #2f5a18
- Analogous: #4a4284, #224d86, #643874
- Triadic: #4a4284, #7b370f, #005f40
- Tetradic: #4a4284, #753259, #555000, #005f40
- Square: #4a4284, #7d3038, #555000, #005c5e
- Monochromatic: #4a4284, #13003d, #2c2160, #6b64aa, #8d88d1

## Questions about #4a4284

### What color is #4a4284?

#4a4284 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 66, 132), in HSL hsl(247.27, 33.33%, 38.82%) and in OKLCH oklch(42.093% 0.1067 286.411).

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

The complementary color of #4a4284 is #555000. For a calmer combination use the analogous colors #224d86 and #643874. The triadic partners are #7b370f and #005f40.

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

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

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

#4a4284 is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.1% and its chroma 0.107.
