# #5b508c color: Bright Eggplant

#5b508c is rgb(91, 80, 140) in RGB and oklch(46.953% 0.0955 290.664) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b508c |
| RGB | rgb(91, 80, 140) |
| HSL | hsl(251, 27.27%, 43.14%) |
| HSB / HSV | hsv(251 42.86% 54.9%) |
| HWB | hwb(251 31.37% 45.1%) |
| CMYK | cmyk(35% 43% 0% 45%) |
| Lab | lab(37.24 15.94 -32.18) |
| LCH | lch(37.24 35.91 296.35) |
| OKLab | oklab(46.953% 0.0337 -0.08935) |
| OKLCH | oklch(46.953% 0.0955 290.664) |
| Display P3 | color(display-p3 0.34967 0.31527 0.53351) |
| Rec. 2020 | color(rec2020 0.29668 0.26127 0.48302) |
| Adobe RGB | color(a98-rgb 0.34724 0.31752 0.53698) |
| ProPhoto RGB | color(prophoto-rgb 0.30609 0.25876 0.45064) |
| Linear sRGB | color(srgb-linear 0.10462 0.08022 0.26225) |
| XYZ D65 | color(xyz-d65 0.11916 0.09855 0.26086) |
| XYZ D50 | color(xyz-d50 0.11404 0.09668 0.19652) |
| SwiftUI | Color(red: 0.357, green: 0.314, blue: 0.549) |
| UIKit | UIColor(red: 0.357, green: 0.314, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF5B508C) |
| Android XML | #5B508C |

## 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.07:1
- Contrast with black: 2.97:1

## Tints

#5b508c, #6a6098, #7971a3, #8882af, #9893ba, #a8a5c6, #b9b6d1, #cac8dd, #dcdae8, #edecf4

## Shades

#5b508c, #4e4479, #413967, #352e55, #292443, #1e1a33, #131023, #090714, #030207, #000001

## Tones

#5b508c, #5b5187, #5b5382, #5a547e, #5a5579, #5a5674, #5a576f, #5a586a, #5a5965, #5a5a60

## Harmonies

- Complementary: #5b508c, #5e5f11
- Split: #5b508c, #765404, #3b6833
- Analogous: #5b508c, #3b5a90, #73487b
- Triadic: #5b508c, #844924, #006b53
- Tetradic: #5b508c, #824262, #5e5f11, #006b53
- Square: #5b508c, #884243, #5e5f11, #006a70
- Monochromatic: #5b508c, #1f0f45, #3b2f68, #7d73b2, #a197d9

## Questions about #5b508c

### What color is #5b508c?

#5b508c is soft dark violet. The closest named color is Bright Eggplant. In RGB it is rgb(91, 80, 140), in HSL hsl(251, 27.27%, 43.14%) and in OKLCH oklch(46.953% 0.0955 290.664).

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

The complementary color of #5b508c is #5e5f11. For a calmer combination use the analogous colors #3b5a90 and #73487b. The triadic partners are #844924 and #006b53.

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

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

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

#5b508c is a cool color. In OKLCH its hue is 291 degrees, its lightness 47% and its chroma 0.095.
