# #120526 color: Election Night

#120526 is rgb(18, 5, 38) in RGB and oklch(16.328% 0.06592 297.388) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/120526

## Formats

| Format | Value |
| --- | --- |
| HEX | #120526 |
| RGB | rgb(18, 5, 38) |
| HSL | hsl(263.64, 76.74%, 8.43%) |
| HSB / HSV | hsv(263.64 86.84% 14.9%) |
| HWB | hwb(263.64 1.96% 85.1%) |
| CMYK | cmyk(53% 87% 0% 85%) |
| Lab | lab(3.26 10.16 -18.27) |
| LCH | lch(3.26 20.91 299.06) |
| OKLab | oklab(16.328% 0.03033 -0.05853) |
| OKLCH | oklch(16.328% 0.06592 297.388) |
| Display P3 | color(display-p3 0.06334 0.02155 0.14219) |
| Rec. 2020 | color(rec2020 0.0231 0.00915 0.07916) |
| Adobe RGB | color(a98-rgb 0.08788 0.05227 0.16354) |
| ProPhoto RGB | color(prophoto-rgb 0.06057 0.03558 0.10416) |
| Linear sRGB | color(srgb-linear 0.00605 0.00152 0.01938) |
| XYZ D65 | color(xyz-d65 0.00654 0.00377 0.01872) |
| XYZ D50 | color(xyz-d50 0.006 0.00361 0.01407) |
| SwiftUI | Color(red: 0.071, green: 0.02, blue: 0.149) |
| UIKit | UIColor(red: 0.071, green: 0.02, blue: 0.149, alpha: 1) |
| Flutter / Compose | Color(0xFF120526) |
| Android XML | #120526 |

## 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.53:1
- Contrast with black: 1.08:1

## Tints

#120526, #241a39, #392f4d, #4e4662, #655e77, #7d778c, #9591a2, #afabb9, #c9c6d0, #e4e2e7

## Shades

#120526, #0e0420, #0a0319, #070213, #04010d, #020108, #010004, #010002, #000001, #000000

## Tones

#120526, #110624, #110721, #10091f, #100a1d, #100b1a, #0f0b18, #0f0c15, #0e0d13, #0e0d10

## Harmonies

- Complementary: #120526, #0d1000
- Split: #120526, #170b00, #001500
- Analogous: #120526, #040a2a, #1c021c
- Triadic: #120526, #200400, #00140e
- Tetradic: #120526, #22000e, #0d1000, #00140e
- Square: #120526, #240001, #0d1000, #001318
- Monochromatic: #120526, #09001b, #09001b, #2e2146, #4d4168

## Questions about #120526

### What color is #120526?

#120526 is soft very dark violet. The closest named color is Election Night. In RGB it is rgb(18, 5, 38), in HSL hsl(263.64, 76.74%, 8.43%) and in OKLCH oklch(16.328% 0.06592 297.388).

### What colors go well with #120526?

The complementary color of #120526 is #0d1000. For a calmer combination use the analogous colors #040a2a and #1c021c. The triadic partners are #200400 and #00140e.

### Is white or black text more readable on #120526?

White text reads better on #120526: white gives a contrast ratio of 19.53:1 and black gives 1.08:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #120526 a warm or cool color?

#120526 is a cool color. In OKLCH its hue is 297 degrees, its lightness 16.3% and its chroma 0.066.
