# #5e42a8 color: Swiss Plum

#5e42a8 is rgb(94, 66, 168) in RGB and oklch(46.54% 0.15652 291.818) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5e42a8 |
| RGB | rgb(94, 66, 168) |
| HSL | hsl(256.47, 43.59%, 45.88%) |
| HSB / HSV | hsv(256.47 60.71% 65.88%) |
| HWB | hwb(256.47 25.88% 34.12%) |
| CMYK | cmyk(44% 61% 0% 34%) |
| Lab | lab(35.54 31.46 -51.71) |
| LCH | lch(35.54 60.53 301.31) |
| OKLab | oklab(46.54% 0.05817 -0.1453) |
| OKLCH | oklch(46.54% 0.15652 291.818) |
| Display P3 | color(display-p3 0.35209 0.26335 0.63616) |
| Rec. 2020 | color(rec2020 0.29962 0.21589 0.59252) |
| Adobe RGB | color(a98-rgb 0.34382 0.26629 0.64228) |
| ProPhoto RGB | color(prophoto-rgb 0.32503 0.22756 0.5556) |
| Linear sRGB | color(srgb-linear 0.11193 0.05448 0.39157) |
| XYZ D65 | color(xyz-d65 0.13631 0.09103 0.38086) |
| XYZ D50 | color(xyz-d50 0.12582 0.0877 0.28647) |
| SwiftUI | Color(red: 0.369, green: 0.259, blue: 0.659) |
| UIKit | UIColor(red: 0.369, green: 0.259, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5E42A8) |
| Android XML | #5E42A8 |

## 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.45:1
- Contrast with black: 2.82:1

## Tints

#5e42a8, #6c56b2, #7a68bb, #897bc5, #998dce, #a9a0d6, #b9b3df, #cac6e7, #dcd8ef, #edecf7

## Shades

#5e42a8, #513892, #442f7c, #372567, #2b1c52, #1f143f, #140b2c, #0a051a, #03010a, #000001

## Tones

#5e42a8, #5d46a0, #5c4999, #5b4c91, #5b4f8a, #5a5182, #5a537a, #5a5572, #59576a, #595862

## Harmonies

- Complementary: #5e42a8, #5c5f00
- Split: #5e42a8, #795100, #0a6d00
- Analogous: #5e42a8, #2353af, #80338c
- Triadic: #5e42a8, #943a00, #006d52
- Tetradic: #5e42a8, #962763, #5c5f00, #006d52
- Square: #5e42a8, #9f252f, #5c5f00, #006971
- Monochromatic: #5e42a8, #230059, #3f1c81, #7f66d0, #a38bf9

## Questions about #5e42a8

### What color is #5e42a8?

#5e42a8 is soft dark violet. The closest named color is Swiss Plum. In RGB it is rgb(94, 66, 168), in HSL hsl(256.47, 43.59%, 45.88%) and in OKLCH oklch(46.54% 0.15652 291.818).

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

The complementary color of #5e42a8 is #5c5f00. For a calmer combination use the analogous colors #2353af and #80338c. The triadic partners are #943a00 and #006d52.

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

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

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

#5e42a8 is a cool color. In OKLCH its hue is 292 degrees, its lightness 46.5% and its chroma 0.157.
