# #5f40a3 color: Soft dark violet

#5f40a3 is rgb(95, 64, 163) in RGB and oklch(45.943% 0.15294 293.966) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f40a3 |
| RGB | rgb(95, 64, 163) |
| HSL | hsl(258.79, 43.61%, 44.51%) |
| HSB / HSV | hsv(258.79 60.74% 63.92%) |
| HWB | hwb(258.79 25.1% 36.08%) |
| CMYK | cmyk(42% 61% 0% 36%) |
| Lab | lab(34.89 31.7 -49.76) |
| LCH | lch(34.89 59 302.5) |
| OKLab | oklab(45.943% 0.06212 -0.13975) |
| OKLCH | oklch(45.943% 0.15294 293.966) |
| Display P3 | color(display-p3 0.35456 0.25613 0.61733) |
| Rec. 2020 | color(rec2020 0.29862 0.20881 0.57219) |
| Adobe RGB | color(a98-rgb 0.34525 0.25904 0.62306) |
| ProPhoto RGB | color(prophoto-rgb 0.32051 0.22155 0.53553) |
| Linear sRGB | color(srgb-linear 0.11444 0.05127 0.36625) |
| XYZ D65 | color(xyz-d65 0.13163 0.08744 0.35646) |
| XYZ D50 | color(xyz-d50 0.12205 0.08442 0.26811) |
| SwiftUI | Color(red: 0.373, green: 0.251, blue: 0.639) |
| UIKit | UIColor(red: 0.373, green: 0.251, blue: 0.639, alpha: 1) |
| Flutter / Compose | Color(0xFF5F40A3) |
| Android XML | #5F40A3 |

## 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

#5f40a3, #6d54ad, #7b67b7, #8a79c1, #9a8cca, #aa9fd4, #bab2dd, #cbc5e6, #dcd8ee, #edebf7

## Shades

#5f40a3, #52368d, #442d78, #382463, #2c1b4f, #20133c, #150b2a, #0a0519, #03010a, #000001

## Tones

#5f40a3, #5e449c, #5d4794, #5c4a8d, #5b4d86, #5a4f7e, #5a5177, #59536f, #585568, #585660

## Harmonies

- Complementary: #5f40a3, #585e00
- Split: #5f40a3, #755000, #006c0d
- Analogous: #5f40a3, #2a51ac, #7f3287
- Triadic: #5f40a3, #903b00, #006b53
- Tetradic: #5f40a3, #94275e, #585e00, #006b53
- Square: #5f40a3, #9b262a, #585e00, #006771
- Monochromatic: #5f40a3, #230054, #401a7d, #8164ca, #a489f3

## Questions about #5f40a3

### What color is #5f40a3?

#5f40a3 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(95, 64, 163), in HSL hsl(258.79, 43.61%, 44.51%) and in OKLCH oklch(45.943% 0.15294 293.966).

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

The complementary color of #5f40a3 is #585e00. For a calmer combination use the analogous colors #2a51ac and #7f3287. The triadic partners are #903b00 and #006b53.

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

White text reads better on #5f40a3: 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 #5f40a3 a warm or cool color?

#5f40a3 is a cool color. In OKLCH its hue is 294 degrees, its lightness 45.9% and its chroma 0.153.
