# #5f41a5 color: Soft dark violet

#5f41a5 is rgb(95, 65, 165) in RGB and oklch(46.253% 0.15408 293.26) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f41a5 |
| RGB | rgb(95, 65, 165) |
| HSL | hsl(258, 43.48%, 45.1%) |
| HSB / HSV | hsv(258 60.61% 64.71%) |
| HWB | hwb(258 25.49% 35.29%) |
| CMYK | cmyk(42% 61% 0% 35%) |
| Lab | lab(35.24 31.6 -50.4) |
| LCH | lch(35.24 59.48 302.08) |
| OKLab | oklab(46.253% 0.06085 -0.14156) |
| OKLCH | oklch(46.253% 0.15408 293.26) |
| Display P3 | color(display-p3 0.35503 0.25984 0.62489) |
| Rec. 2020 | color(rec2020 0.30026 0.21248 0.58035) |
| Adobe RGB | color(a98-rgb 0.34599 0.26266 0.63075) |
| ProPhoto RGB | color(prophoto-rgb 0.32317 0.22464 0.54358) |
| Linear sRGB | color(srgb-linear 0.11444 0.05286 0.37626) |
| XYZ D65 | color(xyz-d65 0.134 0.0893 0.36616) |
| XYZ D50 | color(xyz-d50 0.1241 0.08617 0.27541) |
| SwiftUI | Color(red: 0.373, green: 0.255, blue: 0.647) |
| UIKit | UIColor(red: 0.373, green: 0.255, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF5F41A5) |
| Android XML | #5F41A5 |

## 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.54:1
- Contrast with black: 2.79:1

## Tints

#5f41a5, #6d55af, #7b67b9, #8a7ac2, #9a8dcc, #aa9fd5, #bab2de, #cbc5e6, #dcd8ef, #edebf7

## Shades

#5f41a5, #52378f, #442e79, #382565, #2c1c51, #20133d, #150b2b, #0a051a, #03010a, #000001

## Tones

#5f41a5, #5e459e, #5d4896, #5c4b8f, #5b4e87, #5b5080, #5a5278, #5a5471, #595669, #595761

## Harmonies

- Complementary: #5f41a5, #5a5f00
- Split: #5f41a5, #775100, #006d09
- Analogous: #5f41a5, #2852ad, #803289
- Triadic: #5f41a5, #923b00, #006c53
- Tetradic: #5f41a5, #952760, #5a5f00, #006c53
- Square: #5f41a5, #9d262c, #5a5f00, #006871
- Monochromatic: #5f41a5, #240056, #401b7f, #8165cd, #a48af5

## Questions about #5f41a5

### What color is #5f41a5?

#5f41a5 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(95, 65, 165), in HSL hsl(258, 43.48%, 45.1%) and in OKLCH oklch(46.253% 0.15408 293.26).

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

The complementary color of #5f41a5 is #5a5f00. For a calmer combination use the analogous colors #2852ad and #803289. The triadic partners are #923b00 and #006c53.

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

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

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

#5f41a5 is a cool color. In OKLCH its hue is 293 degrees, its lightness 46.3% and its chroma 0.154.
