# #5a2e91 color: Night Fever

#5a2e91 is rgb(90, 46, 145) in RGB and oklch(41.305% 0.15547 299.992) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5a2e91

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a2e91 |
| RGB | rgb(90, 46, 145) |
| HSL | hsl(266.67, 51.83%, 37.45%) |
| HSB / HSV | hsv(266.67 68.28% 56.86%) |
| HWB | hwb(266.67 18.04% 43.14%) |
| CMYK | cmyk(38% 68% 0% 43%) |
| Lab | lab(29.29 36.23 -47.91) |
| LCH | lch(29.29 60.07 307.1) |
| OKLab | oklab(41.305% 0.07771 -0.13465) |
| OKLCH | oklch(41.305% 0.15547 299.992) |
| Display P3 | color(display-p3 0.32993 0.18909 0.54833) |
| Rec. 2020 | color(rec2020 0.26402 0.14515 0.49786) |
| Adobe RGB | color(a98-rgb 0.31874 0.19456 0.55379) |
| ProPhoto RGB | color(prophoto-rgb 0.28277 0.17161 0.46293) |
| Linear sRGB | color(srgb-linear 0.10224 0.02732 0.28315) |
| XYZ D65 | color(xyz-d65 0.10304 0.06172 0.27437) |
| XYZ D50 | color(xyz-d50 0.09562 0.0595 0.20627) |
| SwiftUI | Color(red: 0.353, green: 0.18, blue: 0.569) |
| UIKit | UIColor(red: 0.353, green: 0.18, blue: 0.569, alpha: 1) |
| Flutter / Compose | Color(0xFF5A2E91) |
| Android XML | #5A2E91 |

## Facts

- Closest name: Night Fever
- Hue family: Violet, deep dark violet
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.4:1
- Contrast with black: 2.23:1

## Tints

#5a2e91, #68449d, #7859a8, #876db4, #9781bf, #a896ca, #b8aad5, #cabfe0, #dbd4ea, #ede9f5

## Shades

#5a2e91, #4d277d, #411f6a, #351858, #291246, #1e0b35, #130625, #090215, #030107, #000001

## Tones

#5a2e91, #58338a, #573784, #553b7d, #533e76, #52416f, #504368, #4f4661, #4e485a, #4c4953

## Harmonies

- Complementary: #5a2e91, #445300
- Split: #5a2e91, #614700, #005f17
- Analogous: #5a2e91, #2d3f9e, #761f72
- Triadic: #5a2e91, #773700, #005b4d
- Tetradic: #5a2e91, #881148, #445300, #005b4d
- Square: #5a2e91, #8c140a, #445300, #005866
- Monochromatic: #5a2e91, #1a0039, #3b016b, #7c52b8, #9f77e0

## Questions about #5a2e91

### What color is #5a2e91?

#5a2e91 is deep dark violet. The closest named color is Night Fever. In RGB it is rgb(90, 46, 145), in HSL hsl(266.67, 51.83%, 37.45%) and in OKLCH oklch(41.305% 0.15547 299.992).

### What colors go well with #5a2e91?

The complementary color of #5a2e91 is #445300. For a calmer combination use the analogous colors #2d3f9e and #761f72. The triadic partners are #773700 and #005b4d.

### Is white or black text more readable on #5a2e91?

White text reads better on #5a2e91: white gives a contrast ratio of 9.4:1 and black gives 2.23:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5a2e91 a warm or cool color?

#5a2e91 is a cool color. In OKLCH its hue is 300 degrees, its lightness 41.3% and its chroma 0.155.
