# #502877 color: Mystic Nights

#502877 is rgb(80, 40, 119) in RGB and oklch(37.225% 0.13068 303.997) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/502877

## Formats

| Format | Value |
| --- | --- |
| HEX | #502877 |
| RGB | rgb(80, 40, 119) |
| HSL | hsl(270.38, 49.69%, 31.18%) |
| HSB / HSV | hsv(270.38 66.39% 46.67%) |
| HWB | hwb(270.38 15.69% 53.33%) |
| CMYK | cmyk(33% 66% 0% 53%) |
| Lab | lab(25.03 31.29 -38.63) |
| LCH | lch(25.03 49.71 309) |
| OKLab | oklab(37.225% 0.07307 -0.10834) |
| OKLCH | oklch(37.225% 0.13068 303.997) |
| Display P3 | color(display-p3 0.29284 0.1648 0.45028) |
| Rec. 2020 | color(rec2020 0.2227 0.11763 0.39384) |
| Adobe RGB | color(a98-rgb 0.28532 0.17344 0.45592) |
| ProPhoto RGB | color(prophoto-rgb 0.23785 0.14677 0.36566) |
| Linear sRGB | color(srgb-linear 0.08022 0.02122 0.18447) |
| XYZ D65 | color(xyz-d65 0.07396 0.04555 0.17943) |
| XYZ D50 | color(xyz-d50 0.06955 0.04424 0.13491) |
| SwiftUI | Color(red: 0.314, green: 0.157, blue: 0.467) |
| UIKit | UIColor(red: 0.314, green: 0.157, blue: 0.467, alpha: 1) |
| Flutter / Compose | Color(0xFF502877) |
| Android XML | #502877 |

## Facts

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

## Tints

#502877, #603d85, #705293, #8067a0, #917bae, #a391bc, #b5a6c9, #c7bcd7, #d9d2e4, #ece8f2

## Shades

#502877, #442167, #391b57, #2e1547, #240f38, #1a092a, #10041c, #070210, #020105, #000001

## Tones

#502877, #4e2c72, #4d2f6c, #4b3267, #493562, #48375c, #463957, #453b51, #433d4c, #423f46

## Harmonies

- Complementary: #502877, #344900
- Split: #502877, #513e00, #00521e
- Analogous: #502877, #2e3584, #661d5c
- Triadic: #502877, #653000, #004e45
- Tetradic: #502877, #741438, #344900, #004e45
- Square: #502877, #761903, #344900, #004b5c
- Monochromatic: #502877, #100024, #310153, #724b9c, #956ec3

## Questions about #502877

### What color is #502877?

#502877 is soft dark purple. The closest named color is Mystic Nights. In RGB it is rgb(80, 40, 119), in HSL hsl(270.38, 49.69%, 31.18%) and in OKLCH oklch(37.225% 0.13068 303.997).

### What colors go well with #502877?

The complementary color of #502877 is #344900. For a calmer combination use the analogous colors #2e3584 and #661d5c. The triadic partners are #653000 and #004e45.

### Is white or black text more readable on #502877?

White text reads better on #502877: white gives a contrast ratio of 10.99:1 and black gives 1.91:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #502877 a warm or cool color?

#502877 is a neutral color. In OKLCH its hue is 304 degrees, its lightness 37.2% and its chroma 0.131.
