# #4f4688 color: Moonlight Sonata

#4f4688 is rgb(79, 70, 136) in RGB and oklch(43.605% 0.10601 287.413) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f4688 |
| RGB | rgb(79, 70, 136) |
| HSL | hsl(248.18, 32.04%, 40.39%) |
| HSB / HSV | hsv(248.18 48.53% 53.33%) |
| HWB | hwb(248.18 27.45% 46.67%) |
| CMYK | cmyk(42% 49% 0% 47%) |
| Lab | lab(33.18 17.22 -36.23) |
| LCH | lch(33.18 40.11 295.42) |
| OKLab | oklab(43.605% 0.03172 -0.10115) |
| OKLCH | oklch(43.605% 0.10601 287.413) |
| Display P3 | color(display-p3 0.30389 0.27577 0.51682) |
| Rec. 2020 | color(rec2020 0.25326 0.22094 0.46495) |
| Adobe RGB | color(a98-rgb 0.30487 0.28085 0.52121) |
| ProPhoto RGB | color(prophoto-rgb 0.27235 0.22481 0.43294) |
| Linear sRGB | color(srgb-linear 0.07819 0.06125 0.2462) |
| XYZ D65 | color(xyz-d65 0.09858 0.0782 0.24283) |
| XYZ D50 | color(xyz-d50 0.09291 0.07623 0.18285) |
| SwiftUI | Color(red: 0.31, green: 0.275, blue: 0.533) |
| UIKit | UIColor(red: 0.31, green: 0.275, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF4F4688) |
| Android XML | #4F4688 |

## 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.19:1
- Contrast with black: 2.56:1

## Tints

#4f4688, #5e5894, #6e69a0, #7f7bac, #908db8, #a19fc4, #b3b2d0, #c6c5dc, #d8d8e8, #ecebf3

## Shades

#4f4688, #443c75, #383263, #2e2852, #231e41, #191531, #100d22, #070513, #020206, #000001

## Tones

#4f4688, #4f4883, #4f497d, #4f4b78, #4f4c73, #4f4d6d, #504e68, #504f62, #50505d, #515157

## Harmonies

- Complementary: #4f4688, #585500
- Split: #4f4688, #714800, #325e1f
- Analogous: #4f4688, #28518b, #693c77
- Triadic: #4f4688, #7f3c14, #006345
- Tetradic: #4f4688, #7a365c, #585500, #006345
- Square: #4f4688, #82353b, #585500, #006063
- Monochromatic: #4f4688, #160241, #312564, #7068ae, #938cd5

## Questions about #4f4688

### What color is #4f4688?

#4f4688 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 70, 136), in HSL hsl(248.18, 32.04%, 40.39%) and in OKLCH oklch(43.605% 0.10601 287.413).

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

The complementary color of #4f4688 is #585500. For a calmer combination use the analogous colors #28518b and #693c77. The triadic partners are #7f3c14 and #006345.

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

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

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

#4f4688 is a cool color. In OKLCH its hue is 287 degrees, its lightness 43.6% and its chroma 0.106.
