# #5f5897 color: Old Nan Yarn

#5f5897 is rgb(95, 88, 151) in RGB and oklch(49.562% 0.09892 287.305) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5897 |
| RGB | rgb(95, 88, 151) |
| HSL | hsl(246.67, 26.36%, 46.86%) |
| HSB / HSV | hsv(246.67 41.72% 59.22%) |
| HWB | hwb(246.67 34.51% 40.78%) |
| CMYK | cmyk(37% 42% 0% 41%) |
| Lab | lab(40.28 14.97 -34.01) |
| LCH | lch(40.28 37.16 293.75) |
| OKLab | oklab(49.562% 0.02942 -0.09444) |
| OKLCH | oklch(49.562% 0.09892 287.305) |
| Display P3 | color(display-p3 0.36786 0.34605 0.57559) |
| Rec. 2020 | color(rec2020 0.31984 0.29278 0.52816) |
| Adobe RGB | color(a98-rgb 0.36598 0.34711 0.57908) |
| ProPhoto RGB | color(prophoto-rgb 0.33048 0.28622 0.49424) |
| Linear sRGB | color(srgb-linear 0.11444 0.09759 0.30947) |
| XYZ D65 | color(xyz-d65 0.13794 0.11647 0.308) |
| XYZ D50 | color(xyz-d50 0.13177 0.11418 0.23206) |
| SwiftUI | Color(red: 0.373, green: 0.345, blue: 0.592) |
| UIKit | UIColor(red: 0.373, green: 0.345, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5897) |
| Android XML | #5F5897 |

## Facts

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

## Tints

#5f5897, #6d68a2, #7c78ac, #8b88b7, #9b98c1, #aba9cc, #bbbad6, #cccbe0, #dcdceb, #eeedf5

## Shades

#5f5897, #524b83, #443f6f, #38335c, #2c2849, #201d37, #151226, #0a0917, #030308, #000001

## Tones

#5f5897, #5f5992, #5f5b8d, #5f5c88, #605d82, #605e7d, #605f78, #616072, #61606d, #616167

## Harmonies

- Complementary: #5f5897, #686513
- Split: #5f5897, #81590d, #456f34
- Analogous: #5f5897, #3c6399, #794f87
- Triadic: #5f5897, #8f4e2c, #097356
- Tetradic: #5f5897, #8a496d, #686513, #097356
- Square: #5f5897, #92484d, #686513, #007276
- Monochromatic: #5f5897, #22164f, #3f3672, #817bbd, #a5a0e5

## Questions about #5f5897

### What color is #5f5897?

#5f5897 is muted dark violet. The closest named color is Old Nan Yarn. In RGB it is rgb(95, 88, 151), in HSL hsl(246.67, 26.36%, 46.86%) and in OKLCH oklch(49.562% 0.09892 287.305).

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

The complementary color of #5f5897 is #686513. For a calmer combination use the analogous colors #3c6399 and #794f87. The triadic partners are #8f4e2c and #097356.

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

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

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

#5f5897 is a cool color. In OKLCH its hue is 287 degrees, its lightness 49.6% and its chroma 0.099.
