# #5e40a6 color: Soft dark violet

#5e40a6 is rgb(94, 64, 166) in RGB and oklch(46.066% 0.15677 292.744) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5e40a6 |
| RGB | rgb(94, 64, 166) |
| HSL | hsl(257.65, 44.35%, 45.1%) |
| HSB / HSV | hsv(257.65 61.45% 65.1%) |
| HWB | hwb(257.65 25.1% 34.9%) |
| CMYK | cmyk(43% 61% 0% 35%) |
| Lab | lab(34.96 32.12 -51.45) |
| LCH | lch(34.96 60.66 301.98) |
| OKLab | oklab(46.066% 0.06061 -0.14458) |
| OKLCH | oklch(46.066% 0.15677 292.744) |
| Display P3 | color(display-p3 0.35114 0.25593 0.6285) |
| Rec. 2020 | color(rec2020 0.29705 0.20881 0.58422) |
| Adobe RGB | color(a98-rgb 0.34232 0.25904 0.63452) |
| ProPhoto RGB | color(prophoto-rgb 0.32161 0.22189 0.54733) |
| Linear sRGB | color(srgb-linear 0.11193 0.05127 0.38133) |
| XYZ D65 | color(xyz-d65 0.13332 0.088 0.37074) |
| XYZ D50 | color(xyz-d50 0.12312 0.08477 0.27884) |
| SwiftUI | Color(red: 0.369, green: 0.251, blue: 0.651) |
| UIKit | UIColor(red: 0.369, green: 0.251, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5E40A6) |
| Android XML | #5E40A6 |

## 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.61:1
- Contrast with black: 2.76:1

## Tints

#5e40a6, #6c54b0, #7a67ba, #897ac3, #998ccc, #a99fd5, #b9b2de, #cac5e7, #dcd8ef, #edebf7

## Shades

#5e40a6, #513690, #442d7a, #372465, #2b1b51, #1f133e, #140b2b, #0a051a, #03010a, #000001

## Tones

#5e40a6, #5d449e, #5c4797, #5b4a8f, #5a4d88, #5a4f80, #595278, #595471, #585569, #585760

## Harmonies

- Complementary: #5e40a6, #5a5e00
- Split: #5e40a6, #775000, #006c01
- Analogous: #5e40a6, #2551ae, #7f318a
- Triadic: #5e40a6, #913a00, #006b52
- Tetradic: #5e40a6, #952560, #5a5e00, #006b52
- Square: #5e40a6, #9d242c, #5a5e00, #006770
- Monochromatic: #5e40a6, #230056, #3f1a80, #7f64ce, #a389f6

## Questions about #5e40a6

### What color is #5e40a6?

#5e40a6 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(94, 64, 166), in HSL hsl(257.65, 44.35%, 45.1%) and in OKLCH oklch(46.066% 0.15677 292.744).

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

The complementary color of #5e40a6 is #5a5e00. For a calmer combination use the analogous colors #2551ae and #7f318a. The triadic partners are #913a00 and #006b52.

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

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

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

#5e40a6 is a cool color. In OKLCH its hue is 293 degrees, its lightness 46.1% and its chroma 0.157.
