# #5d40a6 color: Soft dark violet

#5d40a6 is rgb(93, 64, 166) in RGB and oklch(45.967% 0.15673 292.202) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5d40a6 |
| RGB | rgb(93, 64, 166) |
| HSL | hsl(257.06, 44.35%, 45.1%) |
| HSB / HSV | hsv(257.06 61.45% 65.1%) |
| HWB | hwb(257.06 25.1% 34.9%) |
| CMYK | cmyk(44% 61% 0% 35%) |
| Lab | lab(34.85 31.86 -51.63) |
| LCH | lch(34.85 60.67 301.68) |
| OKLab | oklab(45.967% 0.05923 -0.14511) |
| OKLCH | oklch(45.967% 0.15673 292.202) |
| Display P3 | color(display-p3 0.34772 0.25573 0.62846) |
| Rec. 2020 | color(rec2020 0.29437 0.20841 0.58418) |
| Adobe RGB | color(a98-rgb 0.3394 0.25904 0.63452) |
| ProPhoto RGB | color(prophoto-rgb 0.3198 0.22143 0.54729) |
| Linear sRGB | color(srgb-linear 0.10946 0.05127 0.38133) |
| XYZ D65 | color(xyz-d65 0.1323 0.08747 0.37069) |
| XYZ D50 | color(xyz-d50 0.12204 0.08422 0.27881) |
| SwiftUI | Color(red: 0.365, green: 0.251, blue: 0.651) |
| UIKit | UIColor(red: 0.365, green: 0.251, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5D40A6) |
| Android XML | #5D40A6 |

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

## Tints

#5d40a6, #6b54b0, #7967ba, #887ac3, #988ccc, #a89fd5, #b9b2de, #cac5e7, #dbd8ef, #edebf7

## Shades

#5d40a6, #503690, #432d7a, #372465, #2a1b51, #1f133e, #140b2b, #0a051a, #03010a, #000001

## Tones

#5d40a6, #5c449e, #5b4797, #5a4a8f, #5a4d88, #594f80, #595178, #585370, #585568, #585660

## Harmonies

- Complementary: #5d40a6, #5a5d00
- Split: #5d40a6, #775000, #026c00
- Analogous: #5d40a6, #2351ae, #7e318a
- Triadic: #5d40a6, #923900, #006b51
- Tetradic: #5d40a6, #942561, #5a5d00, #006b51
- Square: #5d40a6, #9d232d, #5a5d00, #00676f
- Monochromatic: #5d40a6, #220056, #3e1a80, #7e64ce, #a289f6

## Questions about #5d40a6

### What color is #5d40a6?

#5d40a6 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(93, 64, 166), in HSL hsl(257.06, 44.35%, 45.1%) and in OKLCH oklch(45.967% 0.15673 292.202).

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

The complementary color of #5d40a6 is #5a5d00. For a calmer combination use the analogous colors #2351ae and #7e318a. The triadic partners are #923900 and #006b51.

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

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

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

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