# #4c4a8f color: Moonlight Sonata

#4c4a8f is rgb(76, 74, 143) in RGB and oklch(44.607% 0.11059 282.25) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4a8f |
| RGB | rgb(76, 74, 143) |
| HSL | hsl(241.74, 31.8%, 42.55%) |
| HSB / HSV | hsv(241.74 48.25% 56.08%) |
| HWB | hwb(241.74 29.02% 43.92%) |
| CMYK | cmyk(47% 48% 0% 44%) |
| Lab | lab(34.36 15.62 -38.66) |
| LCH | lch(34.36 41.7 292) |
| OKLab | oklab(44.607% 0.02347 -0.10807) |
| OKLCH | oklch(44.607% 0.11059 282.25) |
| Display P3 | color(display-p3 0.29666 0.29046 0.54326) |
| Rec. 2020 | color(rec2020 0.25307 0.23521 0.4932) |
| Adobe RGB | color(a98-rgb 0.30074 0.29547 0.54781) |
| ProPhoto RGB | color(prophoto-rgb 0.27744 0.23656 0.45984) |
| Linear sRGB | color(srgb-linear 0.07227 0.06848 0.27468) |
| XYZ D65 | color(xyz-d65 0.10386 0.08417 0.27065) |
| XYZ D50 | color(xyz-d50 0.09719 0.08182 0.2038) |
| SwiftUI | Color(red: 0.298, green: 0.29, blue: 0.561) |
| UIKit | UIColor(red: 0.298, green: 0.29, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4A8F) |
| Android XML | #4C4A8F |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.83:1
- Contrast with black: 2.68:1

## Tints

#4c4a8f, #5b5b9b, #6c6da6, #7c7eb2, #8e90bd, #a0a2c8, #b2b4d3, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4c4a8f, #413f7c, #363569, #2c2a57, #222045, #181734, #0f0e24, #060615, #020207, #000001

## Tones

#4c4a8f, #4c4c89, #4d4d84, #4e4e7e, #4e4f78, #4f5072, #50516c, #515267, #525360, #53545a

## Harmonies

- Complementary: #4c4a8f, #615500
- Split: #4c4a8f, #794800, #3c6015
- Analogous: #4c4a8f, #1e568f, #694080
- Triadic: #4c4a8f, #853b1b, #006641
- Tetradic: #4c4a8f, #7c3865, #615500, #006641
- Square: #4c4a8f, #863643, #615500, #006462
- Monochromatic: #4c4a8f, #150547, #2e286a, #6d6db5, #9091dd

## Questions about #4c4a8f

### What color is #4c4a8f?

#4c4a8f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 74, 143), in HSL hsl(241.74, 31.8%, 42.55%) and in OKLCH oklch(44.607% 0.11059 282.25).

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

The complementary color of #4c4a8f is #615500. For a calmer combination use the analogous colors #1e568f and #694080. The triadic partners are #853b1b and #006641.

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

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

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

#4c4a8f is a cool color. In OKLCH its hue is 282 degrees, its lightness 44.6% and its chroma 0.111.
