# #5e40a5 color: Soft dark violet

#5e40a5 is rgb(94, 64, 165) in RGB and oklch(45.991% 0.15547 292.963) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5e40a5 |
| RGB | rgb(94, 64, 165) |
| HSL | hsl(257.82, 44.1%, 44.9%) |
| HSB / HSV | hsv(257.82 61.21% 64.71%) |
| HWB | hwb(257.82 25.1% 35.29%) |
| CMYK | cmyk(43% 61% 0% 35%) |
| Lab | lab(34.9 31.89 -50.95) |
| LCH | lch(34.9 60.11 302.05) |
| OKLab | oklab(45.991% 0.06066 -0.14315) |
| OKLCH | oklch(45.991% 0.15547 292.963) |
| Display P3 | color(display-p3 0.35114 0.25593 0.62476) |
| Rec. 2020 | color(rec2020 0.29667 0.20867 0.58019) |
| Adobe RGB | color(a98-rgb 0.34232 0.25904 0.6307) |
| ProPhoto RGB | color(prophoto-rgb 0.32062 0.22162 0.54337) |
| Linear sRGB | color(srgb-linear 0.11193 0.05127 0.37626) |
| XYZ D65 | color(xyz-d65 0.1324 0.08763 0.36592) |
| XYZ D50 | color(xyz-d50 0.12239 0.08447 0.27522) |
| SwiftUI | Color(red: 0.369, green: 0.251, blue: 0.647) |
| UIKit | UIColor(red: 0.369, green: 0.251, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF5E40A5) |
| Android XML | #5E40A5 |

## 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.63:1
- Contrast with black: 2.75:1

## Tints

#5e40a5, #6c54af, #7a67b9, #897ac2, #998ccc, #a99fd5, #b9b2de, #cac5e6, #dcd8ef, #edebf7

## Shades

#5e40a5, #51368f, #442d79, #372465, #2b1b51, #1f133d, #140b2b, #0a051a, #03010a, #000001

## Tones

#5e40a5, #5d449e, #5c4796, #5b4a8f, #5a4d87, #5a4f80, #595178, #595370, #585568, #585760

## Harmonies

- Complementary: #5e40a5, #595e00
- Split: #5e40a5, #765000, #006c04
- Analogous: #5e40a5, #2651ad, #7f3189
- Triadic: #5e40a5, #913a00, #006b52
- Tetradic: #5e40a5, #94255f, #595e00, #006b52
- Square: #5e40a5, #9c242c, #595e00, #006770
- Monochromatic: #5e40a5, #230055, #3f1a7f, #8064cd, #a389f5

## Questions about #5e40a5

### What color is #5e40a5?

#5e40a5 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(94, 64, 165), in HSL hsl(257.82, 44.1%, 44.9%) and in OKLCH oklch(45.991% 0.15547 292.963).

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

The complementary color of #5e40a5 is #595e00. For a calmer combination use the analogous colors #2651ad and #7f3189. The triadic partners are #913a00 and #006b52.

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

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

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

#5e40a5 is a cool color. In OKLCH its hue is 293 degrees, its lightness 46% and its chroma 0.155.
