# #4a227b color: Spanish Violet

#4a227b is rgb(74, 34, 123) in RGB and oklch(35.959% 0.14278 299.711) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4a227b |
| RGB | rgb(74, 34, 123) |
| HSL | hsl(266.97, 56.69%, 30.78%) |
| HSB / HSV | hsv(266.97 72.36% 48.24%) |
| HWB | hwb(266.97 13.33% 51.76%) |
| CMYK | cmyk(40% 72% 0% 52%) |
| Lab | lab(23.24 33.68 -44.1) |
| LCH | lch(23.24 55.49 307.37) |
| OKLab | oklab(35.959% 0.07076 -0.12401) |
| OKLCH | oklch(35.959% 0.14278 299.711) |
| Display P3 | color(display-p3 0.26979 0.14162 0.46454) |
| Rec. 2020 | color(rec2020 0.20312 0.09679 0.40875) |
| Adobe RGB | color(a98-rgb 0.26416 0.15253 0.47059) |
| ProPhoto RGB | color(prophoto-rgb 0.22709 0.13246 0.37907) |
| Linear sRGB | color(srgb-linear 0.06848 0.016 0.19807) |
| XYZ D65 | color(xyz-d65 0.06971 0.0403 0.1915) |
| XYZ D50 | color(xyz-d50 0.06436 0.03871 0.14395) |
| SwiftUI | Color(red: 0.29, green: 0.133, blue: 0.482) |
| UIKit | UIColor(red: 0.29, green: 0.133, blue: 0.482, alpha: 1) |
| Flutter / Compose | Color(0xFF4A227B) |
| Android XML | #4A227B |

## Facts

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

## Tints

#4a227b, #5a3989, #6a4f96, #7b64a4, #8c79b1, #9e8fbe, #b1a4cc, #c4bbd9, #d7d1e5, #ebe8f2

## Shades

#4a227b, #3f1c6a, #35165a, #2a114a, #200b3a, #17072c, #0e031e, #060110, #020005, #000001

## Tones

#4a227b, #482775, #472b6f, #452e69, #443163, #43345d, #413657, #403850, #3f3a4a, #3e3b44

## Harmonies

- Complementary: #4a227b, #374400
- Split: #4a227b, #503900, #004e0d
- Analogous: #4a227b, #223186, #631360
- Triadic: #4a227b, #632b00, #004b3e
- Tetradic: #4a227b, #72043a, #374400, #004b3e
- Square: #4a227b, #760602, #374400, #004854
- Monochromatic: #4a227b, #0c0021, #2c0057, #6b46a1, #8e69c8

## Questions about #4a227b

### What color is #4a227b?

#4a227b is deep dark violet. The closest named color is Spanish Violet. In RGB it is rgb(74, 34, 123), in HSL hsl(266.97, 56.69%, 30.78%) and in OKLCH oklch(35.959% 0.14278 299.711).

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

The complementary color of #4a227b is #374400. For a calmer combination use the analogous colors #223186 and #631360. The triadic partners are #632b00 and #004b3e.

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

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

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

#4a227b is a cool color. In OKLCH its hue is 300 degrees, its lightness 36% and its chroma 0.143.
