# #5f5a96 color: Old Nan Yarn

#5f5a96 is rgb(95, 90, 150) in RGB and oklch(49.913% 0.09425 286.263) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5a96 |
| RGB | rgb(95, 90, 150) |
| HSL | hsl(245, 25%, 47.06%) |
| HSB / HSV | hsv(245 40% 58.82%) |
| HWB | hwb(245 35.29% 41.18%) |
| CMYK | cmyk(37% 40% 0% 41%) |
| Lab | lab(40.77 13.56 -32.63) |
| LCH | lch(40.77 35.34 292.57) |
| OKLab | oklab(49.913% 0.02639 -0.09047) |
| OKLCH | oklch(49.913% 0.09425 286.263) |
| Display P3 | color(display-p3 0.36916 0.35361 0.5722) |
| Rec. 2020 | color(rec2020 0.32199 0.30007 0.52461) |
| Adobe RGB | color(a98-rgb 0.36799 0.35454 0.57547) |
| ProPhoto RGB | color(prophoto-rgb 0.3317 0.29213 0.49098) |
| Linear sRGB | color(srgb-linear 0.11444 0.10224 0.30499) |
| XYZ D65 | color(xyz-d65 0.1388 0.11947 0.3043) |
| XYZ D50 | color(xyz-d50 0.13292 0.11725 0.22931) |
| SwiftUI | Color(red: 0.373, green: 0.353, blue: 0.588) |
| UIKit | UIColor(red: 0.373, green: 0.353, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5A96) |
| Android XML | #5F5A96 |

## Facts

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

## Tints

#5f5a96, #6d6aa1, #7c79ab, #8b89b6, #9b9ac0, #abaacb, #bbbbd5, #cccbe0, #dcdcea, #eeeef5

## Shades

#5f5a96, #524d82, #44416e, #38355b, #2c2949, #201e37, #151326, #0a0916, #030308, #000001

## Tones

#5f5a96, #5f5b91, #5f5c8c, #605d87, #605e82, #605f7d, #616078, #616173, #62626e, #626268

## Harmonies

- Complementary: #5f5a96, #6a661b
- Split: #5f5a96, #815b18, #496f37
- Analogous: #5f5a96, #3e6498, #785187
- Triadic: #5f5a96, #8e5032, #1a7457
- Tetradic: #5f5a96, #894b6e, #6a661b, #1a7457
- Square: #5f5a96, #914b50, #6a661b, #007375
- Monochromatic: #5f5a96, #22184e, #3f3971, #817dbc, #a5a2e4

## Questions about #5f5a96

### What color is #5f5a96?

#5f5a96 is muted dark violet. The closest named color is Old Nan Yarn. In RGB it is rgb(95, 90, 150), in HSL hsl(245, 25%, 47.06%) and in OKLCH oklch(49.913% 0.09425 286.263).

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

The complementary color of #5f5a96 is #6a661b. For a calmer combination use the analogous colors #3e6498 and #785187. The triadic partners are #8e5032 and #1a7457.

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

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

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

#5f5a96 is a cool color. In OKLCH its hue is 286 degrees, its lightness 49.9% and its chroma 0.094.
