# #4e3170 color: Mystic Nights

#4e3170 is rgb(78, 49, 112) in RGB and oklch(37.943% 0.10652 302.915) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e3170 |
| RGB | rgb(78, 49, 112) |
| HSL | hsl(267.62, 39.13%, 31.57%) |
| HSB / HSV | hsv(267.62 56.25% 43.92%) |
| HWB | hwb(267.62 19.22% 56.08%) |
| CMYK | cmyk(30% 56% 0% 56%) |
| Lab | lab(26.39 24.1 -32.02) |
| LCH | lch(26.39 40.08 306.97) |
| OKLab | oklab(37.943% 0.05788 -0.08942) |
| OKLCH | oklch(37.943% 0.10652 302.915) |
| Display P3 | color(display-p3 0.28943 0.19715 0.42498) |
| Rec. 2020 | color(rec2020 0.22186 0.14498 0.36751) |
| Adobe RGB | color(a98-rgb 0.28496 0.2052 0.43042) |
| ProPhoto RGB | color(prophoto-rgb 0.23405 0.16464 0.34222) |
| Linear sRGB | color(srgb-linear 0.07619 0.03071 0.16203) |
| XYZ D65 | color(xyz-d65 0.07164 0.04986 0.15915) |
| XYZ D50 | color(xyz-d50 0.06823 0.04879 0.11975) |
| SwiftUI | Color(red: 0.306, green: 0.192, blue: 0.439) |
| UIKit | UIColor(red: 0.306, green: 0.192, blue: 0.439, alpha: 1) |
| Flutter / Compose | Color(0xFF4E3170) |
| Android XML | #4E3170 |

## 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.51:1
- Contrast with black: 2:1

## Tints

#4e3170, #5e447e, #6e588c, #7f6b9b, #907fa9, #a294b7, #b4a8c5, #c6bed4, #d9d3e2, #ece9f1

## Shades

#4e3170, #432960, #382251, #2d1a43, #231335, #190c27, #0f061a, #07030e, #020104, #000001

## Tones

#4e3170, #4d336c, #4b3667, #4a3863, #49395e, #483b5a, #473d55, #453e51, #44404c, #434147

## Harmonies

- Complementary: #4e3170, #384a00
- Split: #4e3170, #544000, #005124
- Analogous: #4e3170, #303b7a, #62295a
- Triadic: #4e3170, #683200, #005146
- Tetradic: #4e3170, #6e243d, #384a00, #005146
- Square: #4e3170, #702719, #384a00, #004d5d
- Monochromatic: #4e3170, #120028, #2f104d, #6f5395, #9376bb

## Questions about #4e3170

### What color is #4e3170?

#4e3170 is soft dark purple. The closest named color is Mystic Nights. In RGB it is rgb(78, 49, 112), in HSL hsl(267.62, 39.13%, 31.57%) and in OKLCH oklch(37.943% 0.10652 302.915).

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

The complementary color of #4e3170 is #384a00. For a calmer combination use the analogous colors #303b7a and #62295a. The triadic partners are #683200 and #005146.

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

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

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

#4e3170 is a neutral color. In OKLCH its hue is 303 degrees, its lightness 37.9% and its chroma 0.107.
