# #5e5798 color: Old Nan Yarn

#5e5798 is rgb(94, 87, 152) in RGB and oklch(49.331% 0.10205 286.965) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5e5798 |
| RGB | rgb(94, 87, 152) |
| HSL | hsl(246.46, 27.2%, 46.86%) |
| HSB / HSV | hsv(246.46 42.76% 59.61%) |
| HWB | hwb(246.46 34.12% 40.39%) |
| CMYK | cmyk(38% 43% 0% 40%) |
| Lab | lab(39.96 15.47 -35.11) |
| LCH | lch(39.96 38.37 293.77) |
| OKLab | oklab(49.331% 0.02978 -0.09761) |
| OKLCH | oklch(49.331% 0.10205 286.965) |
| Display P3 | color(display-p3 0.36394 0.34213 0.57911) |
| Rec. 2020 | color(rec2020 0.31641 0.28888 0.53189) |
| Adobe RGB | color(a98-rgb 0.36226 0.3434 0.58277) |
| ProPhoto RGB | color(prophoto-rgb 0.32853 0.28302 0.49775) |
| Linear sRGB | color(srgb-linear 0.11193 0.09531 0.31399) |
| XYZ D65 | color(xyz-d65 0.13691 0.11463 0.31198) |
| XYZ D50 | color(xyz-d50 0.13044 0.11226 0.23503) |
| SwiftUI | Color(red: 0.369, green: 0.341, blue: 0.596) |
| UIKit | UIColor(red: 0.369, green: 0.341, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5E5798) |
| Android XML | #5E5798 |

## Facts

- Closest name: Old Nan Yarn
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.38:1
- Contrast with black: 3.29:1

## Tints

#5e5798, #6c67a3, #7b77ad, #8a87b8, #9a98c2, #aaa9cc, #bab9d7, #cbcbe1, #dcdceb, #ededf5

## Shades

#5e5798, #514b84, #443e70, #37335c, #2b274a, #1f1c38, #141227, #0a0817, #030308, #000001

## Tones

#5e5798, #5e5893, #5e5a8d, #5e5b88, #5f5c83, #5f5d7d, #5f5e78, #605f72, #60606d, #616167

## Harmonies

- Complementary: #5e5798, #68650a
- Split: #5e5798, #815803, #446e31
- Analogous: #5e5798, #39629a, #784e87
- Triadic: #5e5798, #8f4d2a, #007355
- Tetradic: #5e5798, #8a476d, #68650a, #007355
- Square: #5e5798, #92474c, #68650a, #007275
- Monochromatic: #5e5798, #221550, #3e3573, #807abe, #a49fe6

## Questions about #5e5798

### What color is #5e5798?

#5e5798 is soft dark violet. The closest named color is Old Nan Yarn. In RGB it is rgb(94, 87, 152), in HSL hsl(246.46, 27.2%, 46.86%) and in OKLCH oklch(49.331% 0.10205 286.965).

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

The complementary color of #5e5798 is #68650a. For a calmer combination use the analogous colors #39629a and #784e87. The triadic partners are #8f4d2a and #007355.

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

White text reads better on #5e5798: 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 #5e5798 a warm or cool color?

#5e5798 is a cool color. In OKLCH its hue is 287 degrees, its lightness 49.3% and its chroma 0.102.
