# #5158a1 color: Purple Frenzy

#5158a1 is rgb(81, 88, 161) in RGB and oklch(49.032% 0.11597 277.091) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5158a1 |
| RGB | rgb(81, 88, 161) |
| HSL | hsl(234.75, 33.06%, 47.45%) |
| HSB / HSV | hsv(234.75 49.69% 63.14%) |
| HWB | hwb(234.75 31.76% 36.86%) |
| CMYK | cmyk(50% 45% 0% 37%) |
| Lab | lab(39.56 13.21 -41.2) |
| LCH | lch(39.56 43.26 287.77) |
| OKLab | oklab(49.032% 0.01432 -0.11508) |
| OKLCH | oklch(49.032% 0.11597 277.091) |
| Display P3 | color(display-p3 0.32273 0.34423 0.61221) |
| Rec. 2020 | color(rec2020 0.28933 0.28982 0.5674) |
| Adobe RGB | color(a98-rgb 0.32884 0.34711 0.61698) |
| ProPhoto RGB | color(prophoto-rgb 0.31619 0.28343 0.5322) |
| Linear sRGB | color(srgb-linear 0.08228 0.09759 0.3564) |
| XYZ D65 | color(xyz-d65 0.13315 0.11302 0.35199) |
| XYZ D50 | color(xyz-d50 0.12446 0.10987 0.26512) |
| SwiftUI | Color(red: 0.318, green: 0.345, blue: 0.631) |
| UIKit | UIColor(red: 0.318, green: 0.345, blue: 0.631, alpha: 1) |
| Flutter / Compose | Color(0xFF5158A1) |
| Android XML | #5158A1 |

## 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.44:1
- Contrast with black: 3.26:1

## Tints

#5158a1, #6068ab, #7078b5, #8089bf, #9199c8, #a3aad2, #b4badb, #c7cbe4, #d9dced, #eceef6

## Shades

#5158a1, #454b8b, #3a3f76, #2f3362, #24284e, #1a1d3c, #10122a, #070919, #020309, #000001

## Tones

#5158a1, #52599b, #545b95, #555c8e, #565d88, #585e82, #5a5e7b, #5b5f75, #5d606e, #5f6067

## Harmonies

- Complementary: #5158a1, #735f00
- Split: #5158a1, #8b5100, #4e6c15
- Analogous: #5158a1, #1a649e, #724c93
- Triadic: #5158a1, #96452d, #027345
- Tetradic: #5158a1, #894478, #735f00, #027345
- Square: #5158a1, #954055, #735f00, #00736b
- Monochromatic: #5158a1, #181357, #33367b, #727cc8, #96a1f0

## Questions about #5158a1

### What color is #5158a1?

#5158a1 is soft dark indigo. The closest named color is Purple Frenzy. In RGB it is rgb(81, 88, 161), in HSL hsl(234.75, 33.06%, 47.45%) and in OKLCH oklch(49.032% 0.11597 277.091).

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

The complementary color of #5158a1 is #735f00. For a calmer combination use the analogous colors #1a649e and #724c93. The triadic partners are #96452d and #027345.

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

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

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

#5158a1 is a cool color. In OKLCH its hue is 277 degrees, its lightness 49% and its chroma 0.116.
