# #4e2a7e color: Spanish Violet

#4e2a7e is rgb(78, 42, 126) in RGB and oklch(37.823% 0.13595 299.544) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e2a7e |
| RGB | rgb(78, 42, 126) |
| HSL | hsl(265.71, 50%, 32.94%) |
| HSB / HSV | hsv(265.71 66.67% 49.41%) |
| HWB | hwb(265.71 16.47% 50.59%) |
| CMYK | cmyk(38% 67% 0% 51%) |
| Lab | lab(25.62 31.13 -42.11) |
| LCH | lch(25.62 52.37 306.47) |
| OKLab | oklab(37.823% 0.06704 -0.11828) |
| OKLCH | oklch(37.823% 0.13595 299.544) |
| Display P3 | color(display-p3 0.28658 0.17152 0.47652) |
| Rec. 2020 | color(rec2020 0.22081 0.1239 0.42154) |
| Adobe RGB | color(a98-rgb 0.2805 0.18046 0.48213) |
| ProPhoto RGB | color(prophoto-rgb 0.24116 0.15179 0.39113) |
| Linear sRGB | color(srgb-linear 0.07619 0.02315 0.20864) |
| XYZ D65 | color(xyz-d65 0.07735 0.04782 0.20255) |
| XYZ D50 | color(xyz-d50 0.07199 0.0462 0.1523) |
| SwiftUI | Color(red: 0.306, green: 0.165, blue: 0.494) |
| UIKit | UIColor(red: 0.306, green: 0.165, blue: 0.494, alpha: 1) |
| Flutter / Compose | Color(0xFF4E2A7E) |
| Android XML | #4E2A7E |

## 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.73:1
- Contrast with black: 1.96:1

## Tints

#4e2a7e, #5d408b, #6d5499, #7e69a6, #8f7db3, #a192c0, #b3a7cd, #c5bdd9, #d8d2e6, #ebe9f2

## Shades

#4e2a7e, #43236d, #381c5c, #2d164c, #23103c, #190a2d, #0f051f, #070211, #020105, #000001

## Tones

#4e2a7e, #4d2e78, #4b3172, #4a346d, #493767, #473961, #463b5b, #453d55, #443f4f, #434048

## Harmonies

- Complementary: #4e2a7e, #3c4900
- Split: #4e2a7e, #563e00, #005410
- Analogous: #4e2a7e, #273889, #671e64
- Triadic: #4e2a7e, #6a2f00, #005143
- Tetradic: #4e2a7e, #76133f, #3c4900, #005143
- Square: #4e2a7e, #7a160e, #3c4900, #004d5a
- Monochromatic: #4e2a7e, #110029, #30015a, #6f4da4, #9271cb

## Questions about #4e2a7e

### What color is #4e2a7e?

#4e2a7e is soft dark violet. The closest named color is Spanish Violet. In RGB it is rgb(78, 42, 126), in HSL hsl(265.71, 50%, 32.94%) and in OKLCH oklch(37.823% 0.13595 299.544).

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

The complementary color of #4e2a7e is #3c4900. For a calmer combination use the analogous colors #273889 and #671e64. The triadic partners are #6a2f00 and #005143.

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

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

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

#4e2a7e is a cool color. In OKLCH its hue is 300 degrees, its lightness 37.8% and its chroma 0.136.
