# #4f4a8c color: Moonlight Sonata

#4f4a8c is rgb(79, 74, 140) in RGB and oklch(44.667% 0.1057 284.707) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4a8c |
| RGB | rgb(79, 74, 140) |
| HSL | hsl(244.55, 30.84%, 41.96%) |
| HSB / HSV | hsv(244.55 47.14% 54.9%) |
| HWB | hwb(244.55 29.02% 45.1%) |
| CMYK | cmyk(44% 47% 0% 45%) |
| Lab | lab(34.47 15.76 -36.63) |
| LCH | lch(34.47 39.88 293.28) |
| OKLab | oklab(44.667% 0.02683 -0.10224) |
| OKLCH | oklch(44.667% 0.1057 284.707) |
| Display P3 | color(display-p3 0.30643 0.29087 0.53221) |
| Rec. 2020 | color(rec2020 0.2593 0.23578 0.48144) |
| Adobe RGB | color(a98-rgb 0.30874 0.29547 0.53652) |
| ProPhoto RGB | color(prophoto-rgb 0.27958 0.23696 0.44872) |
| Linear sRGB | color(srgb-linear 0.07819 0.06848 0.26225) |
| XYZ D65 | color(xyz-d65 0.10406 0.08453 0.25895) |
| XYZ D50 | color(xyz-d50 0.09799 0.08238 0.19501) |
| SwiftUI | Color(red: 0.31, green: 0.29, blue: 0.549) |
| UIKit | UIColor(red: 0.31, green: 0.29, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4A8C) |
| Android XML | #4F4A8C |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.8:1
- Contrast with black: 2.69:1

## Tints

#4f4a8c, #5e5b98, #6e6da4, #7f7eaf, #9090bb, #a1a2c6, #b3b4d2, #c6c6dd, #d8d9e8, #ececf4

## Shades

#4f4a8c, #443f79, #383567, #2e2a55, #232043, #191733, #100e23, #070614, #020207, #000001

## Tones

#4f4a8c, #4f4c87, #504d81, #504e7c, #504f76, #515071, #51516b, #525266, #535360, #53545a

## Harmonies

- Complementary: #4f4a8c, #5e5600
- Split: #4f4a8c, #764a00, #39611e
- Analogous: #4f4a8c, #27558d, #6a407c
- Triadic: #4f4a8c, #833e1c, #006645
- Tetradic: #4f4a8c, #7c3962, #5e5600, #006645
- Square: #4f4a8c, #853841, #5e5600, #006464
- Monochromatic: #4f4a8c, #170644, #312967, #706db2, #9391d9

## Questions about #4f4a8c

### What color is #4f4a8c?

#4f4a8c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 74, 140), in HSL hsl(244.55, 30.84%, 41.96%) and in OKLCH oklch(44.667% 0.1057 284.707).

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

The complementary color of #4f4a8c is #5e5600. For a calmer combination use the analogous colors #27558d and #6a407c. The triadic partners are #833e1c and #006645.

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

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

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

#4f4a8c is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.7% and its chroma 0.106.
