# #2a1542 color: Oily Purple

#2a1542 is rgb(42, 21, 66) in RGB and oklch(25.146% 0.08255 302.329) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a1542 |
| RGB | rgb(42, 21, 66) |
| HSL | hsl(268, 51.72%, 17.06%) |
| HSB / HSV | hsv(268 68.18% 25.88%) |
| HWB | hwb(268 8.24% 74.12%) |
| CMYK | cmyk(36% 68% 0% 74%) |
| Lab | lab(11.84 19.12 -24.89) |
| LCH | lch(11.84 31.39 307.53) |
| OKLab | oklab(25.146% 0.04415 -0.06976) |
| OKLCH | oklch(25.146% 0.08255 302.329) |
| Display P3 | color(display-p3 0.15331 0.08624 0.24917) |
| Rec. 2020 | color(rec2020 0.08699 0.04102 0.1858) |
| Adobe RGB | color(a98-rgb 0.16373 0.10808 0.26195) |
| ProPhoto RGB | color(prophoto-rgb 0.12116 0.07897 0.18598) |
| Linear sRGB | color(srgb-linear 0.02315 0.0075 0.05448) |
| XYZ D65 | color(xyz-d65 0.02206 0.01422 0.05313) |
| XYZ D50 | color(xyz-d50 0.02078 0.01383 0.03995) |
| SwiftUI | Color(red: 0.165, green: 0.082, blue: 0.259) |
| UIKit | UIColor(red: 0.165, green: 0.082, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFF2A1542) |
| Android XML | #2A1542 |

## Facts

- Closest name: Oily Purple
- Hue family: Purple, soft very dark purple
- Closest Tailwind class: indigo-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 16.35:1
- Contrast with black: 1.28:1

## Tints

#2a1542, #3c2a54, #4f3f66, #635578, #776b8a, #8c829d, #a29ab0, #b9b2c3, #d0cbd7, #e7e5eb

## Shades

#2a1542, #231138, #1c0c2f, #160825, #10051c, #0a0314, #05020b, #020105, #010001, #000000

## Tones

#2a1542, #29173f, #28193c, #271a39, #271c36, #261d32, #251e2f, #241f2c, #232029, #232125

## Harmonies

- Complementary: #2a1542, #1b2700
- Split: #2a1542, #2e2000, #002c0c
- Analogous: #2a1542, #151c49, #370f33
- Triadic: #2a1542, #3b1600, #002b24
- Tetradic: #2a1542, #3f0b1f, #1b2700, #002b24
- Square: #2a1542, #410d05, #1b2700, #002934
- Monochromatic: #2a1542, #0c001f, #0f0022, #493464, #6a5588

## Questions about #2a1542

### What color is #2a1542?

#2a1542 is soft very dark purple. The closest named color is Oily Purple. In RGB it is rgb(42, 21, 66), in HSL hsl(268, 51.72%, 17.06%) and in OKLCH oklch(25.146% 0.08255 302.329).

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

The complementary color of #2a1542 is #1b2700. For a calmer combination use the analogous colors #151c49 and #370f33. The triadic partners are #3b1600 and #002b24.

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

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

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

#2a1542 is a neutral color. In OKLCH its hue is 302 degrees, its lightness 25.1% and its chroma 0.083.
