# #5f40ac color: Swiss Plum

#5f40ac is rgb(95, 64, 172) in RGB and oklch(46.621% 0.16448 291.999) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f40ac |
| RGB | rgb(95, 64, 172) |
| HSL | hsl(257.22, 45.76%, 46.27%) |
| HSB / HSV | hsv(257.22 62.79% 67.45%) |
| HWB | hwb(257.22 25.1% 32.55%) |
| CMYK | cmyk(45% 63% 0% 33%) |
| Lab | lab(35.44 33.76 -54.24) |
| LCH | lch(35.44 63.88 301.9) |
| OKLab | oklab(46.621% 0.06161 -0.15251) |
| OKLCH | oklch(46.621% 0.16448 291.999) |
| Display P3 | color(display-p3 0.35456 0.25613 0.65096) |
| Rec. 2020 | color(rec2020 0.30204 0.21004 0.60845) |
| Adobe RGB | color(a98-rgb 0.34525 0.25904 0.65751) |
| ProPhoto RGB | color(prophoto-rgb 0.3294 0.22396 0.57126) |
| Linear sRGB | color(srgb-linear 0.11444 0.05127 0.41254) |
| XYZ D65 | color(xyz-d65 0.13998 0.09078 0.40046) |
| XYZ D50 | color(xyz-d50 0.12867 0.08722 0.30117) |
| SwiftUI | Color(red: 0.373, green: 0.251, blue: 0.675) |
| UIKit | UIColor(red: 0.373, green: 0.251, blue: 0.675, alpha: 1) |
| Flutter / Compose | Color(0xFF5F40AC) |
| Android XML | #5F40AC |

## Facts

- Closest name: Swiss Plum
- 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

#5f40ac, #6d54b5, #7b67bf, #8a7ac8, #998dd0, #a9a0d9, #bab2e1, #cac5e9, #dcd8f0, #edecf8

## Shades

#5f40ac, #523695, #442d7f, #382469, #2c1b54, #201340, #150b2d, #0a051b, #03010b, #000001

## Tones

#5f40ac, #5e44a4, #5d489c, #5c4b94, #5b4e8c, #5b5184, #5a537c, #5a5574, #5a576b, #5a5862

## Harmonies

- Complementary: #5f40ac, #5c5f00
- Split: #5f40ac, #795100, #006e00
- Analogous: #5f40ac, #2152b4, #82308f
- Triadic: #5f40ac, #943a00, #006d52
- Tetradic: #5f40ac, #982263, #5c5f00, #006d52
- Square: #5f40ac, #a2202c, #5c5f00, #006971
- Monochromatic: #5f40ac, #240059, #401985, #8065d4, #a48afd

## Questions about #5f40ac

### What color is #5f40ac?

#5f40ac is soft dark violet. The closest named color is Swiss Plum. In RGB it is rgb(95, 64, 172), in HSL hsl(257.22, 45.76%, 46.27%) and in OKLCH oklch(46.621% 0.16448 291.999).

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

The complementary color of #5f40ac is #5c5f00. For a calmer combination use the analogous colors #2152b4 and #82308f. The triadic partners are #943a00 and #006d52.

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

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

#5f40ac is a cool color. In OKLCH its hue is 292 degrees, its lightness 46.6% and its chroma 0.164.
