# #5f429e color: Sweet Flag

#5f429e is rgb(95, 66, 158) in RGB and oklch(45.911% 0.14345 294.621) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f429e |
| RGB | rgb(95, 66, 158) |
| HSL | hsl(258.91, 41.07%, 43.92%) |
| HSB / HSV | hsv(258.91 58.23% 61.96%) |
| HWB | hwb(258.91 25.88% 38.04%) |
| CMYK | cmyk(40% 58% 0% 38%) |
| Lab | lab(35.05 29.44 -46.5) |
| LCH | lch(35.05 55.03 302.34) |
| OKLab | oklab(45.911% 0.05976 -0.13041) |
| OKLCH | oklch(45.911% 0.14345 294.621) |
| Display P3 | color(display-p3 0.35551 0.26355 0.59886) |
| Rec. 2020 | color(rec2020 0.29863 0.215 0.55239) |
| Adobe RGB | color(a98-rgb 0.34674 0.26629 0.60411) |
| ProPhoto RGB | color(prophoto-rgb 0.31724 0.22546 0.51631) |
| Linear sRGB | color(srgb-linear 0.11444 0.05448 0.34191) |
| XYZ D65 | color(xyz-d65 0.12838 0.08798 0.33371) |
| XYZ D50 | color(xyz-d50 0.11981 0.08524 0.25104) |
| SwiftUI | Color(red: 0.373, green: 0.259, blue: 0.62) |
| UIKit | UIColor(red: 0.373, green: 0.259, blue: 0.62, alpha: 1) |
| Flutter / Compose | Color(0xFF5F429E) |
| Android XML | #5F429E |

## 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.61:1
- Contrast with black: 2.76:1

## Tints

#5f429e, #6d55a9, #7b68b3, #8b7abd, #9a8dc7, #aa9fd1, #bab2da, #cbc5e4, #dcd8ed, #edebf6

## Shades

#5f429e, #523889, #442f74, #382560, #2c1c4d, #20143a, #150b29, #0a0518, #030109, #000001

## Tones

#5f429e, #5e4597, #5d4890, #5c4b8a, #5b4d83, #5a507c, #5a5275, #59536e, #595567, #58565f

## Harmonies

- Complementary: #5f429e, #575e00
- Split: #5f429e, #755100, #056b19
- Analogous: #5f429e, #2e51a7, #7d3583
- Triadic: #5f429e, #8f3c00, #006a54
- Tetradic: #5f429e, #912c5c, #575e00, #006a54
- Square: #5f429e, #982c2c, #575e00, #006671
- Monochromatic: #5f429e, #240053, #401e78, #8166c5, #a58aed

## Questions about #5f429e

### What color is #5f429e?

#5f429e is soft dark violet. The closest named color is Sweet Flag. In RGB it is rgb(95, 66, 158), in HSL hsl(258.91, 41.07%, 43.92%) and in OKLCH oklch(45.911% 0.14345 294.621).

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

The complementary color of #5f429e is #575e00. For a calmer combination use the analogous colors #2e51a7 and #7d3583. The triadic partners are #8f3c00 and #006a54.

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

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

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

#5f429e is a cool color. In OKLCH its hue is 295 degrees, its lightness 45.9% and its chroma 0.143.
