# #5f3179 color: Purple Magic

#5f3179 is rgb(95, 49, 121) in RGB and oklch(40.626% 0.12362 311.616) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f3179 |
| RGB | rgb(95, 49, 121) |
| HSL | hsl(278.33, 42.35%, 33.33%) |
| HSB / HSV | hsv(278.33 59.5% 47.45%) |
| HWB | hwb(278.33 19.22% 52.55%) |
| CMYK | cmyk(21% 60% 0% 53%) |
| Lab | lab(29.18 31.31 -33.12) |
| LCH | lch(29.18 45.58 313.38) |
| OKLab | oklab(40.626% 0.0821 -0.09242) |
| OKLCH | oklch(40.626% 0.12362 311.616) |
| Display P3 | color(display-p3 0.34847 0.20124 0.45928) |
| Rec. 2020 | color(rec2020 0.27304 0.15402 0.4035) |
| Adobe RGB | color(a98-rgb 0.33556 0.2052 0.46382) |
| ProPhoto RGB | color(prophoto-rgb 0.2745 0.17516 0.3749) |
| Linear sRGB | color(srgb-linear 0.11444 0.03071 0.1912) |
| XYZ D65 | color(xyz-d65 0.09268 0.0601 0.18762) |
| XYZ D50 | color(xyz-d50 0.08909 0.05907 0.14111) |
| SwiftUI | Color(red: 0.373, green: 0.192, blue: 0.475) |
| UIKit | UIColor(red: 0.373, green: 0.192, blue: 0.475, alpha: 1) |
| Flutter / Compose | Color(0xFF5F3179) |
| Android XML | #5F3179 |

## Facts

- Closest name: Purple Magic
- Hue family: Purple, soft dark purple
- Closest Tailwind class: fuchsia-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.54:1
- Contrast with black: 2.2:1

## Tints

#5f3179, #6e4586, #7d5994, #8d6da1, #9c81af, #ac95bc, #bca9c9, #cdbed7, #ddd4e4, #eee9f2

## Shades

#5f3179, #522968, #442258, #381a48, #2c1339, #200c2b, #15061d, #0a0310, #030105, #000001

## Tones

#5f3179, #5d3474, #5b3870, #593a6b, #573d67, #543f62, #52425d, #504458, #4e4653, #4c484e

## Harmonies

- Complementary: #5f3179, #2f5600
- Split: #5f3179, #564a00, #005b35
- Analogous: #5f3179, #413d89, #73285c
- Triadic: #5f3179, #6c3d00, #005855
- Tetradic: #5f3179, #7e2438, #2f5600, #005855
- Square: #5f3179, #7d2b00, #2f5600, #00546e
- Monochromatic: #5f3179, #1d002e, #3e0d55, #82539e, #a777c5

## Questions about #5f3179

### What color is #5f3179?

#5f3179 is soft dark purple. The closest named color is Purple Magic. In RGB it is rgb(95, 49, 121), in HSL hsl(278.33, 42.35%, 33.33%) and in OKLCH oklch(40.626% 0.12362 311.616).

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

The complementary color of #5f3179 is #2f5600. For a calmer combination use the analogous colors #413d89 and #73285c. The triadic partners are #6c3d00 and #005855.

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

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

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

#5f3179 is a neutral color. In OKLCH its hue is 312 degrees, its lightness 40.6% and its chroma 0.124.
