# #5f4797 color: Sweet Flag

#5f4797 is rgb(95, 71, 151) in RGB and oklch(46.302% 0.12623 294.819) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4797 |
| RGB | rgb(95, 71, 151) |
| HSL | hsl(258, 36.04%, 43.53%) |
| HSB / HSV | hsv(258 52.98% 59.22%) |
| HWB | hwb(258 27.84% 40.78%) |
| CMYK | cmyk(37% 53% 0% 41%) |
| Lab | lab(35.87 24.98 -40.98) |
| LCH | lch(35.87 47.99 301.37) |
| OKLab | oklab(46.302% 0.05299 -0.11457) |
| OKLCH | oklch(46.302% 0.12623 294.819) |
| Display P3 | color(display-p3 0.35799 0.28217 0.57332) |
| Rec. 2020 | color(rec2020 0.30102 0.23155 0.52517) |
| Adobe RGB | color(a98-rgb 0.35065 0.2845 0.57783) |
| ProPhoto RGB | color(prophoto-rgb 0.3148 0.23717 0.49026) |
| Linear sRGB | color(srgb-linear 0.11444 0.06301 0.30947) |
| XYZ D65 | color(xyz-d65 0.12558 0.09174 0.30388) |
| XYZ D50 | color(xyz-d50 0.11845 0.08939 0.2287) |
| SwiftUI | Color(red: 0.373, green: 0.278, blue: 0.592) |
| UIKit | UIColor(red: 0.373, green: 0.278, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4797) |
| Android XML | #5F4797 |

## 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.41:1
- Contrast with black: 2.83:1

## Tints

#5f4797, #6d59a2, #7c6bad, #8b7db7, #9a8fc2, #aaa1cc, #bbb3d7, #cbc6e1, #dcd9eb, #edecf5

## Shades

#5f4797, #523d83, #44326f, #38285c, #2c1f49, #201637, #150d26, #0a0617, #030208, #000001

## Tones

#5f4797, #5e4a91, #5d4c8b, #5d4e85, #5c507f, #5b5279, #5b5373, #5a556c, #5a5666, #59585f

## Harmonies

- Complementary: #5f4797, #586000
- Split: #5f4797, #765200, #1e6a26
- Analogous: #5f4797, #35549f, #7b3c7f
- Triadic: #5f4797, #8c4000, #006c55
- Tetradic: #5f4797, #8c355d, #586000, #006c55
- Square: #5f4797, #923633, #586000, #006873
- Monochromatic: #5f4797, #23004e, #3f2572, #816abe, #a58fe5

## Questions about #5f4797

### What color is #5f4797?

#5f4797 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 71, 151), in HSL hsl(258, 36.04%, 43.53%) and in OKLCH oklch(46.302% 0.12623 294.819).

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

The complementary color of #5f4797 is #586000. For a calmer combination use the analogous colors #35549f and #7b3c7f. The triadic partners are #8c4000 and #006c55.

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

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

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

#5f4797 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46.3% and its chroma 0.126.
