# #5f42a9 color: Swiss Plum

#5f42a9 is rgb(95, 66, 169) in RGB and oklch(46.713% 0.15784 292.145) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f42a9 |
| RGB | rgb(95, 66, 169) |
| HSL | hsl(256.89, 43.83%, 46.08%) |
| HSB / HSV | hsv(256.89 60.95% 66.27%) |
| HWB | hwb(256.89 25.88% 33.73%) |
| CMYK | cmyk(44% 61% 0% 34%) |
| Lab | lab(35.71 31.95 -52.03) |
| LCH | lch(35.71 61.05 301.55) |
| OKLab | oklab(46.713% 0.0595 -0.14619) |
| OKLCH | oklch(46.713% 0.15784 292.145) |
| Display P3 | color(display-p3 0.35551 0.26355 0.63993) |
| Rec. 2020 | color(rec2020 0.30267 0.21642 0.59658) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.64611) |
| ProPhoto RGB | color(prophoto-rgb 0.32783 0.22827 0.55961) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.39676) |
| XYZ D65 | color(xyz-d65 0.13828 0.09194 0.38583) |
| XYZ D50 | color(xyz-d50 0.12765 0.08857 0.29021) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.663) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFF5F42A9) |
| Android XML | #5F42A9 |

## Facts

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

## Tints

#5f42a9, #6d56b3, #7b68bc, #8a7bc5, #998ece, #a9a0d7, #bab3df, #cbc6e8, #dcd9f0, #edecf7

## Shades

#5f42a9, #523892, #442f7c, #382567, #2c1c53, #20143f, #150b2c, #0a051b, #03010a, #000001

## Tones

#5f42a9, #5e46a1, #5d499a, #5c4c92, #5c4f8a, #5b5183, #5b537b, #5a5573, #5a576b, #5a5962

## Harmonies

- Complementary: #5f42a9, #5c6000
- Split: #5f42a9, #795200, #066e00
- Analogous: #5f42a9, #2453b1, #81338d
- Triadic: #5f42a9, #953b00, #006d53
- Tetradic: #5f42a9, #972763, #5c6000, #006d53
- Square: #5f42a9, #a0252e, #5c6000, #006972
- Monochromatic: #5f42a9, #24005a, #401c82, #8166d1, #a48bfa

## Questions about #5f42a9

### What color is #5f42a9?

#5f42a9 is soft dark violet. The closest named color is Swiss Plum. In RGB it is rgb(95, 66, 169), in HSL hsl(256.89, 43.83%, 46.08%) and in OKLCH oklch(46.713% 0.15784 292.145).

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

The complementary color of #5f42a9 is #5c6000. For a calmer combination use the analogous colors #2453b1 and #81338d. The triadic partners are #953b00 and #006d53.

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

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

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

#5f42a9 is a cool color. In OKLCH its hue is 292 degrees, its lightness 46.7% and its chroma 0.158.
