# #5f407a color: Drifting Violet

#5f407a is rgb(95, 64, 122) in RGB and oklch(43.23% 0.09847 307.418) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f407a |
| RGB | rgb(95, 64, 122) |
| HSL | hsl(272.07, 31.18%, 36.47%) |
| HSB / HSV | hsv(272.07 47.54% 47.84%) |
| HWB | hwb(272.07 25.1% 52.16%) |
| CMYK | cmyk(22% 48% 0% 52%) |
| Lab | lab(32.7 23 -28.19) |
| LCH | lch(32.7 36.39 309.21) |
| OKLab | oklab(43.23% 0.05983 -0.07821) |
| OKLCH | oklch(43.23% 0.09847 307.418) |
| Display P3 | color(display-p3 0.35456 0.25613 0.46477) |
| Rec. 2020 | color(rec2020 0.28563 0.2042 0.40972) |
| Adobe RGB | color(a98-rgb 0.34525 0.25904 0.4685) |
| ProPhoto RGB | color(prophoto-rgb 0.28568 0.21244 0.3814) |
| Linear sRGB | color(srgb-linear 0.11444 0.05127 0.19462) |
| XYZ D65 | color(xyz-d65 0.10065 0.07505 0.19331) |
| XYZ D50 | color(xyz-d50 0.09749 0.07401 0.14555) |
| SwiftUI | Color(red: 0.373, green: 0.251, blue: 0.478) |
| UIKit | UIColor(red: 0.373, green: 0.251, blue: 0.478, alpha: 1) |
| Flutter / Compose | Color(0xFF5F407A) |
| Android XML | #5F407A |

## Facts

- Closest name: Drifting Violet
- Hue family: Purple, soft dark purple
- Closest Tailwind class: mauve-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.4:1
- Contrast with black: 2.5:1

## Tints

#5f407a, #6e5287, #7d6494, #8c76a1, #9c89af, #ac9cbc, #bcafc9, #ccc3d7, #ddd6e4, #eeebf1

## Shades

#5f407a, #523669, #442d59, #382449, #2c1b3a, #20132b, #150b1d, #0a0510, #030105, #000001

## Tones

#5f407a, #5e4276, #5c4472, #5b466e, #59486a, #584966, #564b62, #554c5d, #534e59, #524f55

## Harmonies

- Complementary: #5f407a, #415a15
- Split: #5f407a, #605000, #09603a
- Analogous: #5f407a, #444985, #723964
- Triadic: #5f407a, #734400, #00605a
- Tetradic: #5f407a, #7c3647, #415a15, #00605a
- Square: #5f407a, #7d3a26, #415a15, #005c73
- Monochromatic: #5f407a, #200035, #3e2057, #82629f, #a685c5

## Questions about #5f407a

### What color is #5f407a?

#5f407a is soft dark purple. The closest named color is Drifting Violet. In RGB it is rgb(95, 64, 122), in HSL hsl(272.07, 31.18%, 36.47%) and in OKLCH oklch(43.23% 0.09847 307.418).

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

The complementary color of #5f407a is #415a15. For a calmer combination use the analogous colors #444985 and #723964. The triadic partners are #734400 and #00605a.

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

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

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

#5f407a is a neutral color. In OKLCH its hue is 307 degrees, its lightness 43.2% and its chroma 0.098.
