# #4c3171 color: Mystic Nights

#4c3171 is rgb(76, 49, 113) in RGB and oklch(37.78% 0.10742 300.861) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c3171 |
| RGB | rgb(76, 49, 113) |
| HSL | hsl(265.31, 39.51%, 31.76%) |
| HSB / HSV | hsv(265.31 56.64% 44.31%) |
| HWB | hwb(265.31 19.22% 55.69%) |
| CMYK | cmyk(33% 57% 0% 56%) |
| Lab | lab(26.19 23.68 -32.99) |
| LCH | lch(26.19 40.61 305.66) |
| OKLab | oklab(37.78% 0.0551 -0.09221) |
| OKLCH | oklch(37.78% 0.10742 300.861) |
| Display P3 | color(display-p3 0.28255 0.19672 0.42862) |
| Rec. 2020 | color(rec2020 0.21664 0.14424 0.37131) |
| Adobe RGB | color(a98-rgb 0.27915 0.2052 0.43412) |
| ProPhoto RGB | color(prophoto-rgb 0.23113 0.16394 0.34564) |
| Linear sRGB | color(srgb-linear 0.07227 0.03071 0.16513) |
| XYZ D65 | color(xyz-d65 0.07059 0.04925 0.16202) |
| XYZ D50 | color(xyz-d50 0.06697 0.04811 0.12191) |
| SwiftUI | Color(red: 0.298, green: 0.192, blue: 0.443) |
| UIKit | UIColor(red: 0.298, green: 0.192, blue: 0.443, alpha: 1) |
| Flutter / Compose | Color(0xFF4C3171) |
| Android XML | #4C3171 |

## Facts

- Closest name: Mystic Nights
- Hue family: Purple, soft dark purple
- Closest Tailwind class: indigo-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.58:1
- Contrast with black: 1.99:1

## Tints

#4c3171, #5c447f, #6c588d, #7d6b9b, #8e7faa, #a094b8, #b2a9c6, #c5bed4, #d8d3e2, #ebe9f1

## Shades

#4c3171, #412961, #362252, #2c1a43, #221335, #180c27, #0f061a, #06030e, #020104, #000001

## Tones

#4c3171, #4b336c, #4a3668, #493863, #48395f, #463b5a, #453d55, #443e51, #443f4c, #434147

## Harmonies

- Complementary: #4c3171, #3a4900
- Split: #4c3171, #553e00, #005121
- Analogous: #4c3171, #2d3c7a, #61285c
- Triadic: #4c3171, #693000, #005044
- Tetradic: #4c3171, #6d233e, #3a4900, #005044
- Square: #4c3171, #70261b, #3a4900, #004d5b
- Monochromatic: #4c3171, #110028, #2d0f4e, #6d5396, #9076bc

## Questions about #4c3171

### What color is #4c3171?

#4c3171 is soft dark purple. The closest named color is Mystic Nights. In RGB it is rgb(76, 49, 113), in HSL hsl(265.31, 39.51%, 31.76%) and in OKLCH oklch(37.78% 0.10742 300.861).

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

The complementary color of #4c3171 is #3a4900. For a calmer combination use the analogous colors #2d3c7a and #61285c. The triadic partners are #693000 and #005044.

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

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

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

#4c3171 is a neutral color. In OKLCH its hue is 301 degrees, its lightness 37.8% and its chroma 0.107.
