# #4f4786 color: Moonlight Sonata

#4f4786 is rgb(79, 71, 134) in RGB and oklch(43.678% 0.10141 287.245) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4786 |
| RGB | rgb(79, 71, 134) |
| HSL | hsl(247.62, 30.73%, 40.2%) |
| HSB / HSV | hsv(247.62 47.01% 52.55%) |
| HWB | hwb(247.62 27.84% 47.45%) |
| CMYK | cmyk(41% 47% 0% 47%) |
| Lab | lab(33.35 16.13 -34.73) |
| LCH | lch(33.35 38.29 294.91) |
| OKLab | oklab(43.678% 0.03006 -0.09685) |
| OKLCH | oklch(43.678% 0.10141 287.245) |
| Display P3 | color(display-p3 0.30451 0.27954 0.50952) |
| Rec. 2020 | color(rec2020 0.25374 0.22434 0.45725) |
| Adobe RGB | color(a98-rgb 0.30582 0.2845 0.51379) |
| ProPhoto RGB | color(prophoto-rgb 0.27154 0.22723 0.42579) |
| Linear sRGB | color(srgb-linear 0.07819 0.06301 0.2384) |
| XYZ D65 | color(xyz-d65 0.0978 0.0789 0.23563) |
| XYZ D50 | color(xyz-d50 0.09247 0.07702 0.17745) |
| SwiftUI | Color(red: 0.31, green: 0.278, blue: 0.525) |
| UIKit | UIColor(red: 0.31, green: 0.278, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4786) |
| Android XML | #4F4786 |

## 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.15:1
- Contrast with black: 2.58:1

## Tints

#4f4786, #5e5892, #6e6a9f, #7f7cab, #908eb7, #a1a0c3, #b3b2cf, #c6c5db, #d9d8e7, #ecebf3

## Shades

#4f4786, #443d74, #383262, #2e2851, #231f40, #191630, #100d21, #070613, #020206, #000001

## Tones

#4f4786, #4f4981, #4f4a7c, #4f4b77, #4f4c72, #504d6c, #504e67, #504f62, #51505d, #515157

## Harmonies

- Complementary: #4f4786, #585500
- Split: #4f4786, #704800, #345e22
- Analogous: #4f4786, #2a5288, #683e76
- Triadic: #4f4786, #7d3d19, #006346
- Tetradic: #4f4786, #78385c, #585500, #006346
- Square: #4f4786, #80373d, #585500, #006163
- Monochromatic: #4f4786, #16043f, #312662, #7069ac, #938dd3

## Questions about #4f4786

### What color is #4f4786?

#4f4786 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 71, 134), in HSL hsl(247.62, 30.73%, 40.2%) and in OKLCH oklch(43.678% 0.10141 287.245).

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

The complementary color of #4f4786 is #585500. For a calmer combination use the analogous colors #2a5288 and #683e76. The triadic partners are #7d3d19 and #006346.

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

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

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

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