# #4e2a7d color: Spanish Violet

#4e2a7d is rgb(78, 42, 125) in RGB and oklch(37.744% 0.1347 299.893) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/4e2a7d

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e2a7d |
| RGB | rgb(78, 42, 125) |
| HSL | hsl(266.02, 49.7%, 32.75%) |
| HSB / HSV | hsv(266.02 66.4% 49.02%) |
| HWB | hwb(266.02 16.47% 50.98%) |
| CMYK | cmyk(38% 66% 0% 51%) |
| Lab | lab(25.56 30.91 -41.59) |
| LCH | lch(25.56 51.82 306.62) |
| OKLab | oklab(37.744% 0.06713 -0.11678) |
| OKLCH | oklch(37.744% 0.1347 299.893) |
| Display P3 | color(display-p3 0.28658 0.17152 0.47278) |
| Rec. 2020 | color(rec2020 0.22047 0.12376 0.41759) |
| Adobe RGB | color(a98-rgb 0.2805 0.18046 0.47839) |
| ProPhoto RGB | color(prophoto-rgb 0.24029 0.15154 0.38749) |
| Linear sRGB | color(srgb-linear 0.07619 0.02315 0.20508) |
| XYZ D65 | color(xyz-d65 0.07671 0.04756 0.19917) |
| XYZ D50 | color(xyz-d50 0.07148 0.04598 0.14976) |
| SwiftUI | Color(red: 0.306, green: 0.165, blue: 0.49) |
| UIKit | UIColor(red: 0.306, green: 0.165, blue: 0.49, alpha: 1) |
| Flutter / Compose | Color(0xFF4E2A7D) |
| Android XML | #4E2A7D |

## Facts

- Closest name: Spanish Violet
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 10.76:1
- Contrast with black: 1.95:1

## Tints

#4e2a7d, #5d3f8a, #6e5498, #7e68a5, #8f7db2, #a192bf, #b3a7cc, #c5bdd9, #d8d2e6, #ebe9f2

## Shades

#4e2a7d, #43236c, #381c5b, #2d164b, #23103b, #190a2c, #0f051e, #070211, #020105, #000001

## Tones

#4e2a7d, #4d2e77, #4b3172, #4a346c, #483766, #473960, #463b5a, #453d54, #443f4e, #434048

## Harmonies

- Complementary: #4e2a7d, #3b4900
- Split: #4e2a7d, #553e00, #005412
- Analogous: #4e2a7d, #273888, #661e63
- Triadic: #4e2a7d, #6a2f00, #005043
- Tetradic: #4e2a7d, #75143f, #3b4900, #005043
- Square: #4e2a7d, #79170d, #3b4900, #004d5a
- Monochromatic: #4e2a7d, #110029, #300259, #6f4da3, #9271ca

## Questions about #4e2a7d

### What color is #4e2a7d?

#4e2a7d is soft dark violet. The closest named color is Spanish Violet. In RGB it is rgb(78, 42, 125), in HSL hsl(266.02, 49.7%, 32.75%) and in OKLCH oklch(37.744% 0.1347 299.893).

### What colors go well with #4e2a7d?

The complementary color of #4e2a7d is #3b4900. For a calmer combination use the analogous colors #273888 and #661e63. The triadic partners are #6a2f00 and #005043.

### Is white or black text more readable on #4e2a7d?

White text reads better on #4e2a7d: white gives a contrast ratio of 10.76:1 and black gives 1.95:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #4e2a7d a warm or cool color?

#4e2a7d is a cool color. In OKLCH its hue is 300 degrees, its lightness 37.7% and its chroma 0.135.
