# #5d42a2 color: Soft dark violet

#5d42a2 is rgb(93, 66, 162) in RGB and oklch(45.999% 0.14862 292.547) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5d42a2 |
| RGB | rgb(93, 66, 162) |
| HSL | hsl(256.88, 42.11%, 44.71%) |
| HSB / HSV | hsv(256.88 59.26% 63.53%) |
| HWB | hwb(256.88 25.88% 36.47%) |
| CMYK | cmyk(43% 59% 0% 36%) |
| Lab | lab(35.07 29.8 -48.89) |
| LCH | lch(35.07 57.26 301.37) |
| OKLab | oklab(45.999% 0.05699 -0.13726) |
| OKLCH | oklch(45.999% 0.14862 292.547) |
| Display P3 | color(display-p3 0.34869 0.26316 0.61372) |
| Rec. 2020 | color(rec2020 0.2947 0.21472 0.56835) |
| Adobe RGB | color(a98-rgb 0.34092 0.26629 0.61935) |
| ProPhoto RGB | color(prophoto-rgb 0.31737 0.22556 0.53187) |
| Linear sRGB | color(srgb-linear 0.10946 0.05448 0.36131) |
| XYZ D65 | color(xyz-d65 0.12983 0.08832 0.35204) |
| XYZ D50 | color(xyz-d50 0.12041 0.08531 0.26482) |
| SwiftUI | Color(red: 0.365, green: 0.259, blue: 0.635) |
| UIKit | UIColor(red: 0.365, green: 0.259, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF5D42A2) |
| Android XML | #5D42A2 |

## 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.59:1
- Contrast with black: 2.77:1

## Tints

#5d42a2, #6b55ac, #7a68b6, #897ac0, #988dca, #a9a0d3, #b9b2dc, #cac5e5, #dbd8ee, #edecf7

## Shades

#5d42a2, #50388c, #432f77, #372563, #2a1c4f, #1f143c, #140b2a, #0a0519, #03010a, #000001

## Tones

#5d42a2, #5c459b, #5b4994, #5a4b8d, #5a4e85, #59507e, #595277, #58546f, #585568, #585760

## Harmonies

- Complementary: #5d42a2, #5a5e00
- Split: #5d42a2, #775000, #0e6b0c
- Analogous: #5d42a2, #2752a9, #7d3487
- Triadic: #5d42a2, #913a00, #006b51
- Tetradic: #5d42a2, #922a60, #5a5e00, #006b51
- Square: #5d42a2, #9a292f, #5a5e00, #006770
- Monochromatic: #5d42a2, #230056, #3e1d7c, #7f66c9, #a28bf2

## Questions about #5d42a2

### What color is #5d42a2?

#5d42a2 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(93, 66, 162), in HSL hsl(256.88, 42.11%, 44.71%) and in OKLCH oklch(45.999% 0.14862 292.547).

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

The complementary color of #5d42a2 is #5a5e00. For a calmer combination use the analogous colors #2752a9 and #7d3487. The triadic partners are #913a00 and #006b51.

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

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

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

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