# #4f4887 color: Moonlight Sonata

#4f4887 is rgb(79, 72, 135) in RGB and oklch(43.944% 0.10132 286.53) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4887 |
| RGB | rgb(79, 72, 135) |
| HSL | hsl(246.67, 30.43%, 40.59%) |
| HSB / HSV | hsv(246.67 46.67% 52.94%) |
| HWB | hwb(246.67 28.24% 47.06%) |
| CMYK | cmyk(41% 47% 0% 47%) |
| Lab | lab(33.68 15.76 -34.84) |
| LCH | lch(33.68 38.23 294.34) |
| OKLab | oklab(43.944% 0.02883 -0.09713) |
| OKLCH | oklch(43.944% 0.10132 286.53) |
| Display P3 | color(display-p3 0.30514 0.28331 0.51337) |
| Rec. 2020 | color(rec2020 0.25524 0.22805 0.46137) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.51761) |
| ProPhoto RGB | color(prophoto-rgb 0.27333 0.23026 0.42971) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.24228) |
| XYZ D65 | color(xyz-d65 0.09914 0.08046 0.23953) |
| XYZ D50 | color(xyz-d50 0.09372 0.07854 0.18039) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.529) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4887) |
| Android XML | #4F4887 |

## 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.05:1
- Contrast with black: 2.61:1

## Tints

#4f4887, #5e5993, #6e6b9f, #7f7cab, #908eb7, #a1a0c3, #b3b3cf, #c6c5db, #d9d8e7, #ececf3

## Shades

#4f4887, #443d75, #383363, #2e2951, #231f41, #191631, #100d21, #070613, #020206, #000001

## Tones

#4f4887, #4f4982, #4f4b7d, #4f4c78, #504d73, #504e6d, #504f68, #515063, #51515d, #525258

## Harmonies

- Complementary: #4f4887, #5a5500
- Split: #4f4887, #714900, #365f22
- Analogous: #4f4887, #2a5389, #683f77
- Triadic: #4f4887, #7e3e1b, #006346
- Tetradic: #4f4887, #79395e, #5a5500, #006346
- Square: #4f4887, #81383e, #5a5500, #006164
- Monochromatic: #4f4887, #160540, #312763, #706aad, #938ed4

## Questions about #4f4887

### What color is #4f4887?

#4f4887 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 135), in HSL hsl(246.67, 30.43%, 40.59%) and in OKLCH oklch(43.944% 0.10132 286.53).

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

The complementary color of #4f4887 is #5a5500. For a calmer combination use the analogous colors #2a5389 and #683f77. The triadic partners are #7e3e1b and #006346.

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

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

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

#4f4887 is a cool color. In OKLCH its hue is 287 degrees, its lightness 43.9% and its chroma 0.101.
