# #4f4886 color: Moonlight Sonata

#4f4886 is rgb(79, 72, 134) in RGB and oklch(43.881% 0.09981 286.695) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4886 |
| RGB | rgb(79, 72, 134) |
| HSL | hsl(246.77, 30.1%, 40.39%) |
| HSB / HSV | hsv(246.77 46.27% 52.55%) |
| HWB | hwb(246.77 28.24% 47.45%) |
| CMYK | cmyk(41% 46% 0% 47%) |
| Lab | lab(33.63 15.52 -34.3) |
| LCH | lch(33.63 37.65 294.34) |
| OKLab | oklab(43.881% 0.02867 -0.09561) |
| OKLCH | oklch(43.881% 0.09981 286.695) |
| Display P3 | color(display-p3 0.30514 0.28331 0.50966) |
| Rec. 2020 | color(rec2020 0.25491 0.22795 0.45743) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.51386) |
| ProPhoto RGB | color(prophoto-rgb 0.27247 0.23006 0.42602) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.2384) |
| XYZ D65 | color(xyz-d65 0.09844 0.08018 0.23584) |
| XYZ D50 | color(xyz-d50 0.09316 0.0783 0.17762) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.525) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4886) |
| Android XML | #4F4886 |

## 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.07:1
- Contrast with black: 2.6:1

## Tints

#4f4886, #5e5992, #6e6b9e, #7f7cab, #908eb7, #a1a0c3, #b3b3cf, #c6c5db, #d9d8e7, #ececf3

## Shades

#4f4886, #443d74, #383362, #2e2951, #231f40, #191630, #100d21, #070613, #020206, #000001

## Tones

#4f4886, #4f4981, #4f4b7c, #4f4c77, #504d72, #504e6d, #504f68, #515062, #51515d, #525158

## Harmonies

- Complementary: #4f4886, #595500
- Split: #4f4886, #714900, #365e23
- Analogous: #4f4886, #2b5288, #683f76
- Triadic: #4f4886, #7e3e1b, #006346
- Tetradic: #4f4886, #78395d, #595500, #006346
- Square: #4f4886, #80383e, #595500, #006164
- Monochromatic: #4f4886, #16063f, #312762, #706aac, #938ed3

## Questions about #4f4886

### What color is #4f4886?

#4f4886 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 134), in HSL hsl(246.77, 30.1%, 40.39%) and in OKLCH oklch(43.881% 0.09981 286.695).

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

The complementary color of #4f4886 is #595500. For a calmer combination use the analogous colors #2b5288 and #683f76. The triadic partners are #7e3e1b and #006346.

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

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

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

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