# #5158a5 color: Purple Frenzy

#5158a5 is rgb(81, 88, 165) in RGB and oklch(49.288% 0.12187 277.03) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5158a5 |
| RGB | rgb(81, 88, 165) |
| HSL | hsl(235, 34.15%, 48.24%) |
| HSB / HSV | hsv(235 50.91% 64.71%) |
| HWB | hwb(235 31.76% 35.29%) |
| CMYK | cmyk(51% 47% 0% 35%) |
| Lab | lab(39.76 14.24 -43.25) |
| LCH | lch(39.76 45.53 288.23) |
| OKLab | oklab(49.288% 0.01492 -0.12096) |
| OKLCH | oklch(49.288% 0.12187 277.03) |
| Display P3 | color(display-p3 0.32273 0.34423 0.62707) |
| Rec. 2020 | color(rec2020 0.29085 0.29021 0.58338) |
| Adobe RGB | color(a98-rgb 0.32884 0.34711 0.63221) |
| ProPhoto RGB | color(prophoto-rgb 0.32007 0.28428 0.54784) |
| Linear sRGB | color(srgb-linear 0.08228 0.09759 0.37626) |
| XYZ D65 | color(xyz-d65 0.13674 0.11445 0.37087) |
| XYZ D50 | color(xyz-d50 0.1273 0.11108 0.27931) |
| SwiftUI | Color(red: 0.318, green: 0.345, blue: 0.647) |
| UIKit | UIColor(red: 0.318, green: 0.345, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF5158A5) |
| Android XML | #5158A5 |

## 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.38:1
- Contrast with black: 3.29:1

## Tints

#5158a5, #6068af, #7079b8, #8089c2, #9199cb, #a3aad4, #b4bbdd, #c6cbe6, #d9dcee, #eceef7

## Shades

#5158a5, #454b8f, #3a3f79, #2f3365, #242851, #1a1d3d, #10122b, #07091a, #02030a, #000001

## Tones

#5158a5, #525a9e, #545b98, #555c91, #575d8b, #585e84, #5a5f7d, #5c6076, #5d606f, #5f6168

## Harmonies

- Complementary: #5158a5, #756000
- Split: #5158a5, #8e5000, #4e6d0c
- Analogous: #5158a5, #1265a2, #744c97
- Triadic: #5158a5, #99432a, #007544
- Tetradic: #5158a5, #8b427a, #756000, #007544
- Square: #5158a5, #983f55, #756000, #00746b
- Monochromatic: #5158a5, #19125b, #33367f, #727ccc, #95a1f5

## Questions about #5158a5

### What color is #5158a5?

#5158a5 is soft dark indigo. The closest named color is Purple Frenzy. In RGB it is rgb(81, 88, 165), in HSL hsl(235, 34.15%, 48.24%) and in OKLCH oklch(49.288% 0.12187 277.03).

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

The complementary color of #5158a5 is #756000. For a calmer combination use the analogous colors #1265a2 and #744c97. The triadic partners are #99432a and #007544.

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

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

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

#5158a5 is a cool color. In OKLCH its hue is 277 degrees, its lightness 49.3% and its chroma 0.122.
