# #4f468c color: Moonlight Sonata

#4f468c is rgb(79, 70, 140) in RGB and oklch(43.868% 0.11194 286.72) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f468c |
| RGB | rgb(79, 70, 140) |
| HSL | hsl(247.71, 33.33%, 41.18%) |
| HSB / HSV | hsv(247.71 50% 54.9%) |
| HWB | hwb(247.71 27.45% 45.1%) |
| CMYK | cmyk(44% 50% 0% 45%) |
| Lab | lab(33.39 18.19 -38.35) |
| LCH | lch(33.39 42.44 295.38) |
| OKLab | oklab(43.868% 0.0322 -0.10721) |
| OKLCH | oklch(43.868% 0.11194 286.72) |
| Display P3 | color(display-p3 0.30389 0.27577 0.53169) |
| Rec. 2020 | color(rec2020 0.25464 0.22135 0.48075) |
| Adobe RGB | color(a98-rgb 0.30487 0.28085 0.53624) |
| ProPhoto RGB | color(prophoto-rgb 0.27588 0.22564 0.44782) |
| Linear sRGB | color(srgb-linear 0.07819 0.06125 0.26225) |
| XYZ D65 | color(xyz-d65 0.10148 0.07936 0.25809) |
| XYZ D50 | color(xyz-d50 0.09521 0.0772 0.19431) |
| SwiftUI | Color(red: 0.31, green: 0.275, blue: 0.549) |
| UIKit | UIColor(red: 0.31, green: 0.275, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4F468C) |
| Android XML | #4F468C |

## 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.12:1
- Contrast with black: 2.59:1

## Tints

#4f468c, #5e5898, #6e69a4, #7f7baf, #908dbb, #a1a0c6, #b3b2d2, #c6c5dd, #d8d8e9, #ecebf4

## Shades

#4f468c, #443c79, #383267, #2e2855, #231e43, #191533, #100d23, #070514, #020207, #000001

## Tones

#4f468c, #4f4886, #4f4981, #4f4b7b, #4f4c76, #504e70, #504f6a, #505064, #51515e, #515158

## Harmonies

- Complementary: #4f468c, #5a5500
- Split: #4f468c, #744700, #32601a
- Analogous: #4f468c, #25528e, #6a3c7b
- Triadic: #4f468c, #823a0f, #006544
- Tetradic: #4f468c, #7c355e, #5a5500, #006544
- Square: #4f468c, #85333c, #5a5500, #006164
- Monochromatic: #4f468c, #170144, #312467, #7069b2, #938dd9

## Questions about #4f468c

### What color is #4f468c?

#4f468c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 70, 140), in HSL hsl(247.71, 33.33%, 41.18%) and in OKLCH oklch(43.868% 0.11194 286.72).

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

The complementary color of #4f468c is #5a5500. For a calmer combination use the analogous colors #25528e and #6a3c7b. The triadic partners are #823a0f and #006544.

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

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

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

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