# #2a1c58 color: Night Fog

#2a1c58 is rgb(42, 28, 88) in RGB and oklch(28.286% 0.10293 288.801) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2a1c58

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a1c58 |
| RGB | rgb(42, 28, 88) |
| HSL | hsl(254, 51.72%, 22.75%) |
| HSB / HSV | hsv(254 68.18% 34.51%) |
| HWB | hwb(254 10.98% 65.49%) |
| CMYK | cmyk(52% 68% 0% 65%) |
| Lab | lab(15.16 20.32 -34.62) |
| LCH | lch(15.16 40.14 300.4) |
| OKLab | oklab(28.286% 0.03317 -0.09744) |
| OKLCH | oklch(28.286% 0.10293 288.801) |
| Display P3 | color(display-p3 0.15639 0.11205 0.33199) |
| Rec. 2020 | color(rec2020 0.10035 0.06024 0.27045) |
| Adobe RGB | color(a98-rgb 0.16832 0.13186 0.34133) |
| ProPhoto RGB | color(prophoto-rgb 0.14203 0.09759 0.25625) |
| Linear sRGB | color(srgb-linear 0.02315 0.01161 0.09759) |
| XYZ D65 | color(xyz-d65 0.03131 0.02027 0.09459) |
| XYZ D50 | color(xyz-d50 0.02853 0.01939 0.07114) |
| SwiftUI | Color(red: 0.165, green: 0.11, blue: 0.345) |
| UIKit | UIColor(red: 0.165, green: 0.11, blue: 0.345, alpha: 1) |
| Flutter / Compose | Color(0xFF2A1C58) |
| Android XML | #2A1C58 |

## Facts

- Closest name: Night Fog
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 14.94:1
- Contrast with black: 1.41:1

## Tints

#2a1c58, #3b3168, #4d4679, #615c89, #76729a, #8b88ab, #a19fbb, #b8b6cc, #cfcedd, #e7e6ee

## Shades

#2a1c58, #23174b, #1c123f, #160d33, #100828, #0a051d, #050212, #020109, #010003, #000000

## Tones

#2a1c58, #2a1e54, #29204f, #29224a, #292446, #292541, #29263d, #292738, #292833, #29292e

## Harmonies

- Complementary: #2a1c58, #2e2c00
- Split: #2a1c58, #3e2300, #053400
- Analogous: #2a1c58, #03265b, #3e1349
- Triadic: #2a1c58, #4e1200, #003522
- Tetradic: #2a1c58, #4b0a32, #2e2c00, #003522
- Square: #2a1c58, #510814, #2e2c00, #003336
- Monochromatic: #2a1c58, #090026, #110036, #483d7c, #685fa1

## Questions about #2a1c58

### What color is #2a1c58?

#2a1c58 is soft very dark violet. The closest named color is Night Fog. In RGB it is rgb(42, 28, 88), in HSL hsl(254, 51.72%, 22.75%) and in OKLCH oklch(28.286% 0.10293 288.801).

### What colors go well with #2a1c58?

The complementary color of #2a1c58 is #2e2c00. For a calmer combination use the analogous colors #03265b and #3e1349. The triadic partners are #4e1200 and #003522.

### Is white or black text more readable on #2a1c58?

White text reads better on #2a1c58: white gives a contrast ratio of 14.94:1 and black gives 1.41:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2a1c58 a warm or cool color?

#2a1c58 is a cool color. In OKLCH its hue is 289 degrees, its lightness 28.3% and its chroma 0.103.
