# #5f4598 color: Sweet Flag

#5f4598 is rgb(95, 69, 152) in RGB and oklch(46.012% 0.13078 295.223) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4598 |
| RGB | rgb(95, 69, 152) |
| HSL | hsl(258.8, 37.56%, 43.33%) |
| HSB / HSV | hsv(258.8 54.61% 59.61%) |
| HWB | hwb(258.8 27.06% 40.39%) |
| CMYK | cmyk(38% 55% 0% 40%) |
| Lab | lab(35.43 26.37 -42.27) |
| LCH | lch(35.43 49.82 301.96) |
| OKLab | oklab(46.012% 0.05573 -0.11831) |
| OKLCH | oklch(46.012% 0.13078 295.223) |
| Display P3 | color(display-p3 0.35697 0.27471 0.57682) |
| Rec. 2020 | color(rec2020 0.29939 0.22467 0.52885) |
| Adobe RGB | color(a98-rgb 0.34905 0.27721 0.58149) |
| ProPhoto RGB | color(prophoto-rgb 0.31407 0.23198 0.49369) |
| Linear sRGB | color(srgb-linear 0.11444 0.05951 0.31399) |
| XYZ D65 | color(xyz-d65 0.12514 0.08956 0.30776) |
| XYZ D50 | color(xyz-d50 0.11775 0.08716 0.23159) |
| SwiftUI | Color(red: 0.373, green: 0.271, blue: 0.596) |
| UIKit | UIColor(red: 0.373, green: 0.271, blue: 0.596, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4598) |
| Android XML | #5F4598 |

## Facts

- Closest name: Sweet Flag
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.52:1
- Contrast with black: 2.79:1

## Tints

#5f4598, #6d57a3, #7c69ae, #8b7bb8, #9a8ec3, #aaa0cd, #bbb3d7, #cbc5e1, #dcd8eb, #edecf5

## Shades

#5f4598, #523b84, #443170, #38275c, #2c1e4a, #201538, #150c27, #0a0517, #030208, #000001

## Tones

#5f4598, #5e4892, #5d4a8c, #5c4d85, #5b4f7f, #5b5179, #5a5272, #59546c, #595565, #58575f

## Harmonies

- Complementary: #5f4598, #575f00
- Split: #5f4598, #745100, #166a23
- Analogous: #5f4598, #3453a0, #7b397f
- Triadic: #5f4598, #8d3e00, #006b55
- Tetradic: #5f4598, #8d325b, #575f00, #006b55
- Square: #5f4598, #933330, #575f00, #006772
- Monochromatic: #5f4598, #23004f, #3f2273, #8168bf, #a58de7

## Questions about #5f4598

### What color is #5f4598?

#5f4598 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 69, 152), in HSL hsl(258.8, 37.56%, 43.33%) and in OKLCH oklch(46.012% 0.13078 295.223).

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

The complementary color of #5f4598 is #575f00. For a calmer combination use the analogous colors #3453a0 and #7b397f. The triadic partners are #8d3e00 and #006b55.

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

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

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

#5f4598 is a cool color. In OKLCH its hue is 295 degrees, its lightness 46% and its chroma 0.131.
