# #4f468e color: Moonlight Sonata

#4f468e is rgb(79, 70, 142) in RGB and oklch(44.001% 0.11489 286.389) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f468e |
| RGB | rgb(79, 70, 142) |
| HSL | hsl(247.5, 33.96%, 41.57%) |
| HSB / HSV | hsv(247.5 50.7% 55.69%) |
| HWB | hwb(247.5 27.45% 44.31%) |
| CMYK | cmyk(44% 51% 0% 44%) |
| Lab | lab(33.5 18.69 -39.4) |
| LCH | lch(33.5 43.61 295.37) |
| OKLab | oklab(44.001% 0.03242 -0.11022) |
| OKLCH | oklch(44.001% 0.11489 286.389) |
| Display P3 | color(display-p3 0.30389 0.27577 0.53913) |
| Rec. 2020 | color(rec2020 0.25534 0.22156 0.48866) |
| Adobe RGB | color(a98-rgb 0.30487 0.28085 0.54376) |
| ProPhoto RGB | color(prophoto-rgb 0.27768 0.22607 0.45531) |
| Linear sRGB | color(srgb-linear 0.07819 0.06125 0.2705) |
| XYZ D65 | color(xyz-d65 0.10296 0.07995 0.26593) |
| XYZ D50 | color(xyz-d50 0.09639 0.0777 0.2002) |
| SwiftUI | Color(red: 0.31, green: 0.275, blue: 0.557) |
| UIKit | UIColor(red: 0.31, green: 0.275, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4F468E) |
| Android XML | #4F468E |

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

## Tints

#4f468e, #5e589a, #6e6aa5, #7f7bb1, #908ebc, #a1a0c8, #b3b2d3, #c6c5de, #d8d8e9, #ecebf4

## Shades

#4f468e, #443c7b, #383268, #2e2856, #231e44, #191534, #100d24, #070515, #020207, #000001

## Tones

#4f468e, #4f4888, #4f4a82, #4f4b7d, #4f4d77, #504e71, #504f6b, #515065, #51515f, #525259

## Harmonies

- Complementary: #4f468e, #5b5500
- Split: #4f468e, #744800, #326017
- Analogous: #4f468e, #235290, #6b3b7c
- Triadic: #4f468e, #843a0d, #006544
- Tetradic: #4f468e, #7d345f, #5b5500, #006544
- Square: #4f468e, #86323c, #5b5500, #006264
- Monochromatic: #4f468e, #170046, #312469, #7069b4, #938ddc

## Questions about #4f468e

### What color is #4f468e?

#4f468e is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 70, 142), in HSL hsl(247.5, 33.96%, 41.57%) and in OKLCH oklch(44.001% 0.11489 286.389).

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

The complementary color of #4f468e is #5b5500. For a calmer combination use the analogous colors #235290 and #6b3b7c. The triadic partners are #843a0d and #006544.

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

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

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

#4f468e is a cool color. In OKLCH its hue is 286 degrees, its lightness 44% and its chroma 0.115.
