# #5157a1 color: Purple Frenzy

#5157a1 is rgb(81, 87, 161) in RGB and oklch(48.826% 0.11739 277.616) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5157a1

## Formats

| Format | Value |
| --- | --- |
| HEX | #5157a1 |
| RGB | rgb(81, 87, 161) |
| HSL | hsl(235.5, 33.06%, 47.45%) |
| HSB / HSV | hsv(235.5 49.69% 63.14%) |
| HWB | hwb(235.5 31.76% 36.86%) |
| CMYK | cmyk(50% 46% 0% 37%) |
| Lab | lab(39.28 13.8 -41.63) |
| LCH | lch(39.28 43.86 288.34) |
| OKLab | oklab(48.826% 0.01556 -0.11635) |
| OKLCH | oklch(48.826% 0.11739 277.616) |
| Display P3 | color(display-p3 0.32198 0.34043 0.61207) |
| Rec. 2020 | color(rec2020 0.28801 0.28611 0.56722) |
| Adobe RGB | color(a98-rgb 0.32771 0.3434 0.6169) |
| ProPhoto RGB | color(prophoto-rgb 0.31514 0.28038 0.53196) |
| Linear sRGB | color(srgb-linear 0.08228 0.09531 0.3564) |
| XYZ D65 | color(xyz-d65 0.13234 0.11139 0.35172) |
| XYZ D50 | color(xyz-d50 0.12358 0.10824 0.2649) |
| SwiftUI | Color(red: 0.318, green: 0.341, blue: 0.631) |
| UIKit | UIColor(red: 0.318, green: 0.341, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF5157A1) |
| Android XML | #5157A1 |

## Facts

- Closest name: Purple Frenzy
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.51:1
- Contrast with black: 3.23:1

## Tints

#5157a1, #6067ab, #7078b5, #8088bf, #9199c8, #a3a9d2, #b4badb, #c7cbe4, #d9dced, #ecedf6

## Shades

#5157a1, #454b8b, #3a3e76, #2f3362, #24274e, #1a1c3c, #10122a, #070819, #020309, #000001

## Tones

#5157a1, #52589b, #535a94, #555b8e, #565c88, #585d81, #595e7b, #5b5e74, #5c5f6e, #5e5f67

## Harmonies

- Complementary: #5157a1, #725f00
- Split: #5157a1, #8b5000, #4d6c13
- Analogous: #5157a1, #19649e, #724b93
- Triadic: #5157a1, #96442b, #007345
- Tetradic: #5157a1, #894377, #725f00, #007345
- Square: #5157a1, #953f54, #725f00, #00726a
- Monochromatic: #5157a1, #181257, #33357b, #727bc8, #95a0f0

## Questions about #5157a1

### What color is #5157a1?

#5157a1 is soft dark indigo. The closest named color is Purple Frenzy. In RGB it is rgb(81, 87, 161), in HSL hsl(235.5, 33.06%, 47.45%) and in OKLCH oklch(48.826% 0.11739 277.616).

### What colors go well with #5157a1?

The complementary color of #5157a1 is #725f00. For a calmer combination use the analogous colors #19649e and #724b93. The triadic partners are #96442b and #007345.

### Is white or black text more readable on #5157a1?

White text reads better on #5157a1: white gives a contrast ratio of 6.51:1 and black gives 3.23:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5157a1 a warm or cool color?

#5157a1 is a cool color. In OKLCH its hue is 278 degrees, its lightness 48.8% and its chroma 0.117.
