# #5f42a6 color: Soft dark violet

#5f42a6 is rgb(95, 66, 166) in RGB and oklch(46.49% 0.15394 292.785) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f42a6 |
| RGB | rgb(95, 66, 166) |
| HSL | hsl(257.4, 43.1%, 45.49%) |
| HSB / HSV | hsv(257.4 60.24% 65.1%) |
| HWB | hwb(257.4 25.88% 34.9%) |
| CMYK | cmyk(43% 60% 0% 35%) |
| Lab | lab(35.52 31.26 -50.53) |
| LCH | lch(35.52 59.42 301.74) |
| OKLab | oklab(46.49% 0.05962 -0.14193) |
| OKLCH | oklch(46.49% 0.15394 292.785) |
| Display P3 | color(display-p3 0.35551 0.26355 0.62872) |
| Rec. 2020 | color(rec2020 0.30154 0.21602 0.5845) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.63463) |
| ProPhoto RGB | color(prophoto-rgb 0.32488 0.22748 0.54771) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.38133) |
| XYZ D65 | color(xyz-d65 0.1355 0.09082 0.37117) |
| XYZ D50 | color(xyz-d50 0.12544 0.08763 0.27919) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.651) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5F42A6) |
| Android XML | #5F42A6 |

## 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.46:1
- Contrast with black: 2.82:1

## Tints

#5f42a6, #6d55b0, #7b68ba, #8a7bc3, #9a8dcc, #aaa0d5, #bab3de, #cbc5e7, #dcd8ef, #edecf7

## Shades

#5f42a6, #523890, #442f7a, #382565, #2c1c51, #20143e, #150b2b, #0a051a, #03010a, #000001

## Tones

#5f42a6, #5e469f, #5d4997, #5c4c90, #5c4f88, #5b5181, #5a5379, #5a5571, #5a566a, #595861

## Harmonies

- Complementary: #5f42a6, #5b5f00
- Split: #5f42a6, #785100, #056d08
- Analogous: #5f42a6, #2753ae, #80338a
- Triadic: #5f42a6, #933b00, #006d53
- Tetradic: #5f42a6, #952861, #5b5f00, #006d53
- Square: #5f42a6, #9d272e, #5b5f00, #006971
- Monochromatic: #5f42a6, #240058, #401d80, #8166ce, #a48bf6

## Questions about #5f42a6

### What color is #5f42a6?

#5f42a6 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(95, 66, 166), in HSL hsl(257.4, 43.1%, 45.49%) and in OKLCH oklch(46.49% 0.15394 292.785).

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

The complementary color of #5f42a6 is #5b5f00. For a calmer combination use the analogous colors #2753ae and #80338a. The triadic partners are #933b00 and #006d53.

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

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

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

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