# #5f45a2 color: Soft dark violet

#5f45a2 is rgb(95, 69, 162) in RGB and oklch(46.703% 0.14426 292.846) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f45a2 |
| RGB | rgb(95, 69, 162) |
| HSL | hsl(256.77, 40.26%, 45.29%) |
| HSB / HSV | hsv(256.77 57.41% 63.53%) |
| HWB | hwb(256.77 27.06% 36.47%) |
| CMYK | cmyk(41% 57% 0% 36%) |
| Lab | lab(35.99 28.63 -47.39) |
| LCH | lch(35.99 55.37 301.14) |
| OKLab | oklab(46.703% 0.05601 -0.13294) |
| OKLCH | oklch(46.703% 0.14426 292.846) |
| Display P3 | color(display-p3 0.35697 0.27471 0.61409) |
| Rec. 2020 | color(rec2020 0.30288 0.22585 0.56883) |
| Adobe RGB | color(a98-rgb 0.34905 0.27721 0.61952) |
| ProPhoto RGB | color(prophoto-rgb 0.3233 0.23436 0.53249) |
| Linear sRGB | color(srgb-linear 0.11444 0.05951 0.36131) |
| XYZ D65 | color(xyz-d65 0.13368 0.09298 0.35274) |
| XYZ D50 | color(xyz-d50 0.12452 0.09003 0.26538) |
| SwiftUI | Color(red: 0.373, green: 0.271, blue: 0.635) |
| UIKit | UIColor(red: 0.373, green: 0.271, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF5F45A2) |
| Android XML | #5F45A2 |

## Facts

- Closest name: Soft dark violet
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.34:1
- Contrast with black: 2.86:1

## Tints

#5f45a2, #6d58ac, #7b6ab6, #8a7cc0, #9a8ec9, #aaa1d3, #bab3dc, #cbc6e5, #dcd9ee, #edecf7

## Shades

#5f45a2, #523b8c, #443177, #382763, #2c1e4f, #20153c, #150c2a, #0a0519, #03020a, #000001

## Tones

#5f45a2, #5e489b, #5d4b94, #5d4e8d, #5c5086, #5b527f, #5b5478, #5a5671, #5a5769, #5a5962

## Harmonies

- Complementary: #5f45a2, #5c6000
- Split: #5f45a2, #795200, #156d16
- Analogous: #5f45a2, #2c54aa, #7f3888
- Triadic: #5f45a2, #943c00, #006d54
- Tetradic: #5f45a2, #932e61, #5c6000, #006d54
- Square: #5f45a2, #9b2e32, #5c6000, #006972
- Monochromatic: #5f45a2, #240057, #40217c, #8169c9, #a48ef2

## Questions about #5f45a2

### What color is #5f45a2?

#5f45a2 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(95, 69, 162), in HSL hsl(256.77, 40.26%, 45.29%) and in OKLCH oklch(46.703% 0.14426 292.846).

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

The complementary color of #5f45a2 is #5c6000. For a calmer combination use the analogous colors #2c54aa and #7f3888. The triadic partners are #943c00 and #006d54.

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

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

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

#5f45a2 is a cool color. In OKLCH its hue is 293 degrees, its lightness 46.7% and its chroma 0.144.
