# #5f4a98 color: Soft dark violet

#5f4a98 is rgb(95, 74, 152) in RGB and oklch(46.913% 0.12283 293.512) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4a98 |
| RGB | rgb(95, 74, 152) |
| HSL | hsl(256.15, 34.51%, 44.31%) |
| HSB / HSV | hsv(256.15 51.32% 59.61%) |
| HWB | hwb(256.15 29.02% 40.39%) |
| CMYK | cmyk(38% 51% 0% 40%) |
| Lab | lab(36.67 23.45 -40.31) |
| LCH | lch(36.67 46.63 300.19) |
| OKLab | oklab(46.913% 0.049 -0.11263) |
| OKLCH | oklch(46.913% 0.12283 293.512) |
| Display P3 | color(display-p3 0.35957 0.29338 0.5774) |
| Rec. 2020 | color(rec2020 0.3044 0.24224 0.52962) |
| Adobe RGB | color(a98-rgb 0.35312 0.29547 0.58181) |
| ProPhoto RGB | color(prophoto-rgb 0.31821 0.24567 0.49472) |
| Linear sRGB | color(srgb-linear 0.11444 0.06848 0.31399) |
| XYZ D65 | color(xyz-d65 0.12835 0.09597 0.30883) |
| XYZ D50 | color(xyz-d50 0.1212 0.09359 0.23246) |
| SwiftUI | Color(red: 0.373, green: 0.29, blue: 0.596) |
| UIKit | UIColor(red: 0.373, green: 0.29, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4A98) |
| Android XML | #5F4A98 |

## Facts

- Closest name: Soft dark violet
- Hue family: Violet, soft dark violet
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.19:1
- Contrast with black: 2.92:1

## Tints

#5f4a98, #6d5ca3, #7c6dae, #8b7fb8, #9a90c3, #aaa2cd, #bbb4d7, #cbc7e1, #dcd9eb, #edecf5

## Shades

#5f4a98, #523f84, #443570, #382a5c, #2c204a, #201738, #150e27, #0a0617, #030208, #000001

## Tones

#5f4a98, #5e4c92, #5e4f8c, #5d5186, #5c5280, #5c547a, #5c5674, #5b576e, #5b5867, #5b5961

## Harmonies

- Complementary: #5f4a98, #5b6100
- Split: #5f4a98, #795300, #276b27
- Analogous: #5f4a98, #35579f, #7b3f81
- Triadic: #5f4a98, #8d4300, #006e55
- Tetradic: #5f4a98, #8c3860, #5b6100, #006e55
- Square: #5f4a98, #933938, #5b6100, #006a74
- Monochromatic: #5f4a98, #23024f, #3f2873, #816dbf, #a592e6

## Questions about #5f4a98

### What color is #5f4a98?

#5f4a98 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(95, 74, 152), in HSL hsl(256.15, 34.51%, 44.31%) and in OKLCH oklch(46.913% 0.12283 293.512).

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

The complementary color of #5f4a98 is #5b6100. For a calmer combination use the analogous colors #35579f and #7b3f81. The triadic partners are #8d4300 and #006e55.

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

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

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

#5f4a98 is a cool color. In OKLCH its hue is 294 degrees, its lightness 46.9% and its chroma 0.123.
