# #5c40a0 color: Soft dark violet

#5c40a0 is rgb(92, 64, 160) in RGB and oklch(45.42% 0.14888 292.967) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5c40a0 |
| RGB | rgb(92, 64, 160) |
| HSL | hsl(257.5, 42.86%, 43.92%) |
| HSB / HSV | hsv(257.5 60% 62.75%) |
| HWB | hwb(257.5 25.1% 37.25%) |
| CMYK | cmyk(42% 60% 0% 37%) |
| Lab | lab(34.37 30.21 -48.81) |
| LCH | lch(34.37 57.41 301.75) |
| OKLab | oklab(45.42% 0.05809 -0.13708) |
| OKLCH | oklch(45.42% 0.14888 292.967) |
| Display P3 | color(display-p3 0.34431 0.25553 0.60602) |
| Rec. 2020 | color(rec2020 0.28944 0.20721 0.56003) |
| Adobe RGB | color(a98-rgb 0.33649 0.25904 0.61162) |
| ProPhoto RGB | color(prophoto-rgb 0.31215 0.21943 0.52364) |
| Linear sRGB | color(srgb-linear 0.10702 0.05127 0.35153) |
| XYZ D65 | color(xyz-d65 0.12591 0.0848 0.34232) |
| XYZ D50 | color(xyz-d50 0.11671 0.08188 0.2575) |
| SwiftUI | Color(red: 0.361, green: 0.251, blue: 0.627) |
| UIKit | UIColor(red: 0.361, green: 0.251, blue: 0.627, alpha: 1) |
| Flutter / Compose | Color(0xFF5C40A0) |
| Android XML | #5C40A0 |

## 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.79:1
- Contrast with black: 2.7:1

## Tints

#5c40a0, #6a53aa, #7966b5, #8879bf, #988cc8, #a89ed2, #b9b1db, #cac4e5, #dbd8ee, #edebf6

## Shades

#5c40a0, #4f368b, #422d76, #362461, #2a1b4e, #1f133b, #140b29, #0a0519, #030109, #000001

## Tones

#5c40a0, #5b4499, #5a4792, #59498b, #594c83, #584e7c, #575075, #57526d, #575466, #56555e

## Harmonies

- Complementary: #5c40a0, #585c00
- Split: #5c40a0, #744f00, #066a0b
- Analogous: #5c40a0, #2750a8, #7c3285
- Triadic: #5c40a0, #8e3900, #006950
- Tetradic: #5c40a0, #90275e, #585c00, #006950
- Square: #5c40a0, #98272c, #585c00, #00656e
- Monochromatic: #5c40a0, #210052, #3d1b7a, #7d64c7, #a189f0

## Questions about #5c40a0

### What color is #5c40a0?

#5c40a0 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(92, 64, 160), in HSL hsl(257.5, 42.86%, 43.92%) and in OKLCH oklch(45.42% 0.14888 292.967).

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

The complementary color of #5c40a0 is #585c00. For a calmer combination use the analogous colors #2750a8 and #7c3285. The triadic partners are #8e3900 and #006950.

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

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

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

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