# #4d4188 color: Moonlight Sonata

#4d4188 is rgb(77, 65, 136) in RGB and oklch(42.441% 0.11402 288.326) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4188 |
| RGB | rgb(77, 65, 136) |
| HSL | hsl(250.14, 35.32%, 39.41%) |
| HSB / HSV | hsv(250.14 52.21% 53.33%) |
| HWB | hwb(250.14 25.49% 46.67%) |
| CMYK | cmyk(43% 52% 0% 47%) |
| Lab | lab(31.65 19.66 -38.67) |
| LCH | lch(31.65 43.38 296.94) |
| OKLab | oklab(42.441% 0.03585 -0.10823) |
| OKLCH | oklch(42.441% 0.11402 288.326) |
| Display P3 | color(display-p3 0.29425 0.25663 0.51612) |
| Rec. 2020 | color(rec2020 0.24263 0.20246 0.46406) |
| Adobe RGB | color(a98-rgb 0.29479 0.26266 0.52087) |
| ProPhoto RGB | color(prophoto-rgb 0.2646 0.21029 0.4318) |
| Linear sRGB | color(srgb-linear 0.07421 0.05286 0.2462) |
| XYZ D65 | color(xyz-d65 0.09394 0.07136 0.24176) |
| XYZ D50 | color(xyz-d50 0.08795 0.06933 0.18198) |
| SwiftUI | Color(red: 0.302, green: 0.255, blue: 0.533) |
| UIKit | UIColor(red: 0.302, green: 0.255, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4188) |
| Android XML | #4D4188 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.65:1
- Contrast with black: 2.43:1

## Tints

#4d4188, #5c5394, #6c65a0, #7d78ad, #8e8ab9, #a09dc4, #b2b0d0, #c5c3dc, #d8d7e8, #ebebf3

## Shades

#4d4188, #423775, #372e63, #2c2552, #221c41, #181331, #0f0b22, #070513, #020106, #000001

## Tones

#4d4188, #4d4382, #4d457d, #4d4677, #4d4872, #4d496c, #4d4a66, #4d4c60, #4d4c5a, #4e4d54

## Harmonies

- Complementary: #4d4188, #555200
- Split: #4d4188, #6d4500, #2a5c16
- Analogous: #4d4188, #234d8b, #683776
- Triadic: #4d4188, #7e3601, #006043
- Tetradic: #4d4188, #792f59, #555200, #006043
- Square: #4d4188, #812e35, #555200, #005d60
- Monochromatic: #4d4188, #160040, #2f1f63, #6e63ae, #9187d5

## Questions about #4d4188

### What color is #4d4188?

#4d4188 is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 65, 136), in HSL hsl(250.14, 35.32%, 39.41%) and in OKLCH oklch(42.441% 0.11402 288.326).

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

The complementary color of #4d4188 is #555200. For a calmer combination use the analogous colors #234d8b and #683776. The triadic partners are #7e3601 and #006043.

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

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

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

#4d4188 is a cool color. In OKLCH its hue is 288 degrees, its lightness 42.4% and its chroma 0.114.
