# #5f4796 color: Sweet Flag

#5f4796 is rgb(95, 71, 150) in RGB and oklch(46.236% 0.12485 295.076) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4796 |
| RGB | rgb(95, 71, 150) |
| HSL | hsl(258.23, 35.75%, 43.33%) |
| HSB / HSV | hsv(258.23 52.67% 58.82%) |
| HWB | hwb(258.23 27.84% 41.18%) |
| CMYK | cmyk(37% 53% 0% 41%) |
| Lab | lab(35.81 24.76 -40.46) |
| LCH | lch(35.81 47.43 301.47) |
| OKLab | oklab(46.236% 0.05291 -0.11308) |
| OKLCH | oklch(46.236% 0.12485 295.076) |
| Display P3 | color(display-p3 0.35799 0.28217 0.5696) |
| Rec. 2020 | color(rec2020 0.30069 0.23144 0.52119) |
| Adobe RGB | color(a98-rgb 0.35065 0.2845 0.57404) |
| ProPhoto RGB | color(prophoto-rgb 0.31392 0.23695 0.48643) |
| Linear sRGB | color(srgb-linear 0.11444 0.06301 0.30499) |
| XYZ D65 | color(xyz-d65 0.12477 0.09141 0.29962) |
| XYZ D50 | color(xyz-d50 0.11781 0.08912 0.2255) |
| SwiftUI | Color(red: 0.373, green: 0.278, blue: 0.588) |
| UIKit | UIColor(red: 0.373, green: 0.278, blue: 0.588, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4796) |
| Android XML | #5F4796 |

## Facts

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

## Tints

#5f4796, #6d59a1, #7c6bac, #8b7db7, #9a8fc1, #aaa1cc, #bbb3d6, #cbc6e1, #dcd9eb, #edecf5

## Shades

#5f4796, #523d82, #44326e, #38285b, #2c1f49, #201637, #150d26, #0a0616, #030208, #000001

## Tones

#5f4796, #5e4a90, #5d4c8a, #5c4e84, #5c507e, #5b5278, #5a5372, #5a556c, #595666, #59575f

## Harmonies

- Complementary: #5f4796, #576000
- Split: #5f4796, #755200, #1e6a27
- Analogous: #5f4796, #36549e, #7a3c7e
- Triadic: #5f4796, #8b4100, #006b55
- Tetradic: #5f4796, #8c355c, #576000, #006b55
- Square: #5f4796, #923633, #576000, #006773
- Monochromatic: #5f4796, #23004d, #3f2571, #816abd, #a58ee4

## Questions about #5f4796

### What color is #5f4796?

#5f4796 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 71, 150), in HSL hsl(258.23, 35.75%, 43.33%) and in OKLCH oklch(46.236% 0.12485 295.076).

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

The complementary color of #5f4796 is #576000. For a calmer combination use the analogous colors #36549e and #7a3c7e. The triadic partners are #8b4100 and #006b55.

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

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

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

#5f4796 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.2% and its chroma 0.125.
