# #4f4a8d color: Moonlight Sonata

#4f4a8d is rgb(79, 74, 141) in RGB and oklch(44.731% 0.1072 284.575) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4a8d |
| RGB | rgb(79, 74, 141) |
| HSL | hsl(244.48, 31.16%, 42.16%) |
| HSB / HSV | hsv(244.48 47.52% 55.29%) |
| HWB | hwb(244.48 29.02% 44.71%) |
| CMYK | cmyk(44% 48% 0% 45%) |
| Lab | lab(34.53 16.01 -37.16) |
| LCH | lch(34.53 40.46 293.31) |
| OKLab | oklab(44.731% 0.02698 -0.10375) |
| OKLCH | oklch(44.731% 0.1072 284.575) |
| Display P3 | color(display-p3 0.30643 0.29087 0.53593) |
| Rec. 2020 | color(rec2020 0.25965 0.23588 0.48539) |
| Adobe RGB | color(a98-rgb 0.30874 0.29547 0.54028) |
| ProPhoto RGB | color(prophoto-rgb 0.28046 0.23717 0.45245) |
| Linear sRGB | color(srgb-linear 0.07819 0.06848 0.26636) |
| XYZ D65 | color(xyz-d65 0.1048 0.08483 0.26285) |
| XYZ D50 | color(xyz-d50 0.09858 0.08263 0.19794) |
| SwiftUI | Color(red: 0.31, green: 0.29, blue: 0.553) |
| UIKit | UIColor(red: 0.31, green: 0.29, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4A8D) |
| Android XML | #4F4A8D |

## 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.79:1
- Contrast with black: 2.7:1

## Tints

#4f4a8d, #5e5b99, #6e6da4, #7f7eb0, #9090bb, #a1a2c7, #b3b4d2, #c6c6dd, #d8d9e9, #ececf4

## Shades

#4f4a8d, #443f7a, #383567, #2e2a55, #232044, #191733, #100e23, #070614, #020207, #000001

## Tones

#4f4a8d, #4f4c88, #504d82, #504e7d, #504f77, #515171, #52516c, #525266, #535360, #54545a

## Harmonies

- Complementary: #4f4a8d, #5e5700
- Split: #4f4a8d, #774900, #39611d
- Analogous: #4f4a8d, #26558e, #6a407d
- Triadic: #4f4a8d, #843e1b, #006645
- Tetradic: #4f4a8d, #7c3962, #5e5700, #006645
- Square: #4f4a8d, #853741, #5e5700, #006464
- Monochromatic: #4f4a8d, #170645, #312968, #706db3, #9391da

## Questions about #4f4a8d

### What color is #4f4a8d?

#4f4a8d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 74, 141), in HSL hsl(244.48, 31.16%, 42.16%) and in OKLCH oklch(44.731% 0.1072 284.575).

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

The complementary color of #4f4a8d is #5e5700. For a calmer combination use the analogous colors #26558e and #6a407d. The triadic partners are #843e1b and #006645.

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

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

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

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