# #5f4297 color: Sweet Flag

#5f4297 is rgb(95, 66, 151) in RGB and oklch(45.423% 0.13415 296.41) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f4297 |
| RGB | rgb(95, 66, 151) |
| HSL | hsl(260.47, 39.17%, 42.55%) |
| HSB / HSV | hsv(260.47 56.29% 59.22%) |
| HWB | hwb(260.47 25.88% 40.78%) |
| CMYK | cmyk(37% 56% 0% 41%) |
| Lab | lab(34.66 27.88 -42.91) |
| LCH | lch(34.66 51.17 303.02) |
| OKLab | oklab(45.423% 0.05967 -0.12015) |
| OKLCH | oklch(45.423% 0.13415 296.41) |
| Display P3 | color(display-p3 0.35551 0.26355 0.57276) |
| Rec. 2020 | color(rec2020 0.29621 0.21416 0.52443) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.57752) |
| ProPhoto RGB | color(prophoto-rgb 0.31084 0.22378 0.48927) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.30947) |
| XYZ D65 | color(xyz-d65 0.12253 0.08564 0.30287) |
| XYZ D50 | color(xyz-d50 0.11516 0.08328 0.22787) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.592) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.592, alpha: 1) |
| Flutter / Compose | Color(0xFF5F4297) |
| Android XML | #5F4297 |

## Facts

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

## Tints

#5f4297, #6d55a2, #7c67ad, #8b79b8, #9a8cc2, #aa9fcd, #bbb1d7, #cbc4e1, #dcd8eb, #edebf5

## Shades

#5f4297, #523883, #442f6f, #38255c, #2c1c49, #201437, #150b26, #0a0517, #030108, #000001

## Tones

#5f4297, #5e4591, #5d488b, #5c4a84, #5b4c7e, #5a4e78, #595071, #58526b, #585464, #57555d

## Harmonies

- Complementary: #5f4297, #535e00
- Split: #5f4297, #715000, #066922
- Analogous: #5f4297, #3450a0, #7b367d
- Triadic: #5f4297, #8b3d00, #006955
- Tetradic: #5f4297, #8d2e58, #535e00, #006955
- Square: #5f4297, #93302b, #535e00, #006571
- Monochromatic: #5f4297, #23004e, #3f1f72, #8165be, #a58ae6

## Questions about #5f4297

### What color is #5f4297?

#5f4297 is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 151), in HSL hsl(260.47, 39.17%, 42.55%) and in OKLCH oklch(45.423% 0.13415 296.41).

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

The complementary color of #5f4297 is #535e00. For a calmer combination use the analogous colors #3450a0 and #7b367d. The triadic partners are #8b3d00 and #006955.

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

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

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

#5f4297 is a cool color. In OKLCH its hue is 296 degrees, its lightness 45.4% and its chroma 0.134.
