# #0f0528 color: Election Night

#0f0528 is rgb(15, 5, 40) in RGB and oklch(16.136% 0.0687 290.601) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0f0528

## Formats

| Format | Value |
| --- | --- |
| HEX | #0f0528 |
| RGB | rgb(15, 5, 40) |
| HSL | hsl(257.14, 77.78%, 8.82%) |
| HSB / HSV | hsv(257.14 87.5% 15.69%) |
| HWB | hwb(257.14 1.96% 84.31%) |
| CMYK | cmyk(62% 87% 0% 84%) |
| Lab | lab(3.1 9.65 -20.07) |
| LCH | lch(3.1 22.27 295.67) |
| OKLab | oklab(16.136% 0.02417 -0.06431) |
| OKLCH | oklch(16.136% 0.0687 290.601) |
| Display P3 | color(display-p3 0.05286 0.02101 0.14959) |
| Rec. 2020 | color(rec2020 0.01987 0.00885 0.08638) |
| Adobe RGB | color(a98-rgb 0.0798 0.05227 0.17039) |
| ProPhoto RGB | color(prophoto-rgb 0.05836 0.03498 0.10938) |
| Linear sRGB | color(srgb-linear 0.00478 0.00152 0.02122) |
| XYZ D65 | color(xyz-d65 0.00634 0.00363 0.02044) |
| XYZ D50 | color(xyz-d50 0.0057 0.00344 0.01537) |
| SwiftUI | Color(red: 0.059, green: 0.02, blue: 0.157) |
| UIKit | UIColor(red: 0.059, green: 0.02, blue: 0.157, alpha: 1) |
| Flutter / Compose | Color(0xFF0F0528) |
| Android XML | #0F0528 |

## Facts

- Closest name: Election Night
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: slate-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 19.58:1
- Contrast with black: 1.07:1

## Tints

#0f0528, #211a3b, #35304f, #4b4764, #625f79, #7a778e, #9391a4, #adabba, #c8c7d1, #e3e2e8

## Shades

#0f0528, #0b0421, #08031b, #050215, #03010f, #020109, #010004, #000002, #000001, #000000

## Tones

#0f0528, #0f0625, #0e0823, #0e0920, #0e0a1e, #0e0b1b, #0e0b18, #0d0c16, #0d0d13, #0d0d10

## Harmonies

- Complementary: #0f0528, #0f0f00
- Split: #0f0528, #190a00, #001400
- Analogous: #0f0528, #000a2a, #1a021f
- Triadic: #0f0528, #220200, #00140a
- Tetradic: #0f0528, #210011, #0f0f00, #00140a
- Square: #0f0528, #240002, #0f0f00, #001316
- Monochromatic: #0f0528, #07001d, #07001d, #2a2248, #48416a

## Questions about #0f0528

### What color is #0f0528?

#0f0528 is soft very dark violet. The closest named color is Election Night. In RGB it is rgb(15, 5, 40), in HSL hsl(257.14, 77.78%, 8.82%) and in OKLCH oklch(16.136% 0.0687 290.601).

### What colors go well with #0f0528?

The complementary color of #0f0528 is #0f0f00. For a calmer combination use the analogous colors #000a2a and #1a021f. The triadic partners are #220200 and #00140a.

### Is white or black text more readable on #0f0528?

White text reads better on #0f0528: white gives a contrast ratio of 19.58:1 and black gives 1.07:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0f0528 a warm or cool color?

#0f0528 is a cool color. In OKLCH its hue is 291 degrees, its lightness 16.1% and its chroma 0.069.
