Skip to the color picker

#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.

Read as HEX

267°
100%

36%
0.143
300°
  • Violet
  • Dark
  • Vivid
  • Deep
  • Cool
  • ≈ Indigo
  • purple-900
  • Black 52%

Inside sRGB: displays the same on any screen.

White text
11.63:1Readable · AA
Lc -100
Black text
1.81:1Hard to read
Lc 8

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #4a227b

#4a227b is a deep dark violet color. In OKLCH it has 36% lightness, 0.143 chroma and a hue of 300°.

Inside sRGB: displays the same on any screen.

White text on it reaches 11.63:1 contrast and black text 1.81:1, so white text reads better.

The closest named color is Spanish Violet (#4c2882). In Tailwind CSS the closest color is purple-900.

More dark violet colors

Lighter: #4a227b mixed with white

Darker: #4a227b mixed with black

Calmer: #4a227b with less saturation

Similar named colors

Colors that go with #4a227b

Complementary
Analogous
Triadic
Split

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.