# #5a518c color: Bright Eggplant

#5a518c is rgb(90, 81, 140) in RGB and oklch(47.064% 0.09385 289.278) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a518c |
| RGB | rgb(90, 81, 140) |
| HSL | hsl(249.15, 26.7%, 43.33%) |
| HSB / HSV | hsv(249.15 42.14% 54.9%) |
| HWB | hwb(249.15 31.76% 45.1%) |
| CMYK | cmyk(36% 42% 0% 45%) |
| Lab | lab(37.41 15.02 -31.91) |
| LCH | lch(37.41 35.27 295.2) |
| OKLab | oklab(47.064% 0.03099 -0.08859) |
| OKLCH | oklch(47.064% 0.09385 289.278) |
| Display P3 | color(display-p3 0.34699 0.31889 0.53362) |
| Rec. 2020 | color(rec2020 0.29528 0.26459 0.48317) |
| Adobe RGB | color(a98-rgb 0.34544 0.32121 0.53707) |
| ProPhoto RGB | color(prophoto-rgb 0.30526 0.26132 0.45085) |
| Linear sRGB | color(srgb-linear 0.10224 0.08228 0.26225) |
| XYZ D65 | color(xyz-d65 0.11892 0.09952 0.26106) |
| XYZ D50 | color(xyz-d50 0.1138 0.09763 0.19668) |
| SwiftUI | Color(red: 0.353, green: 0.318, blue: 0.549) |
| UIKit | UIColor(red: 0.353, green: 0.318, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF5A518C) |
| Android XML | #5A518C |

## Facts

- Closest name: Bright Eggplant
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.02:1
- Contrast with black: 2.99:1

## Tints

#5a518c, #696198, #7872a3, #8783af, #9794ba, #a8a5c6, #b9b7d1, #cac8dd, #dbdae8, #ededf4

## Shades

#5a518c, #4d4579, #413a67, #352f55, #292443, #1e1a33, #131023, #090714, #030207, #000001

## Tones

#5a518c, #5a5287, #5a5483, #5a557e, #5a5679, #5a5774, #5a586f, #5a596a, #5a5965, #5b5a60

## Harmonies

- Complementary: #5a518c, #5f5f13
- Split: #5a518c, #77540a, #3e6732
- Analogous: #5a518c, #3a5b8f, #72497c
- Triadic: #5a518c, #844927, #006b52
- Tetradic: #5a518c, #814363, #5f5f13, #006b52
- Square: #5a518c, #884345, #5f5f13, #006a6f
- Monochromatic: #5a518c, #1e1045, #3a3068, #7c74b2, #a098d9

## Questions about #5a518c

### What color is #5a518c?

#5a518c is soft dark violet. The closest named color is Bright Eggplant. In RGB it is rgb(90, 81, 140), in HSL hsl(249.15, 26.7%, 43.33%) and in OKLCH oklch(47.064% 0.09385 289.278).

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

The complementary color of #5a518c is #5f5f13. For a calmer combination use the analogous colors #3a5b8f and #72497c. The triadic partners are #844927 and #006b52.

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

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

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

#5a518c is a cool color. In OKLCH its hue is 289 degrees, its lightness 47.1% and its chroma 0.094.
