#4A2272

Closest named color: Royal Purple (#4B006E). oklch(35.2% 0.132 303.1), rgb(74, 34, 114).

Aa

White text reads best on this color (11.91:1).

About this color

#4A2272 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.132 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.047 away. White text reads best on it, at 11.91:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.76:1
White text11.91:1

Values

HEX#4A2272
RGBrgb(74, 34, 114)
HSLhsl(270, 54%, 29%)
OKLCHoklch(35.2% 0.132 303.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #4A2272 11.91:1 AAA Lc -100.4 Preferred for body text
Black text on #4A2272 1.76:1 Fails Lc 0.0 Not readable
#4A2272 text on white 11.91:1 AAA Lc 96.7 Preferred for body text
#4A2272 text on black 1.76:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F8

    oklch(88.5% 0.055 302.8)

  4. Step 300

    300

    #CDB1F6

    oklch(80.8% 0.1 302.8)

  5. Step 400

    400

    #B585F1

    oklch(70.7% 0.159 303.1)

  6. Step 500

    500

    #A462EC

    oklch(63.2% 0.202 303.1)

  7. Step 600

    600

    #8F42DA

    oklch(55.5% 0.221 303)

  8. Step 700

    700

    #7A32BD

    oklch(49.1% 0.205 303.1)

  9. Step 800

    800

    #632C99

    oklch(42.8% 0.169 302.9)

  10. Step 900

    900 (this color)

    #4A2272

    oklch(35.2% 0.132 303.1)

  11. Step 950

    950

    #2F1947

    oklch(26.9% 0.084 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#4A2272 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0036740.101
Deuteranopia (no green cones)#0237700.101
Tritanopia (no blue cones)#4234470.096
Achromatopsia (no color)#3737370.133

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #4A2272

    #4A2272

    oklch(35.2% 0.132 303.1)

  • #334200

    #334200

    oklch(35.3% 0.087 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A2272

    #4A2272

    oklch(35.2% 0.132 303.1)

  • #272F7E

    #272F7E

    oklch(35.1% 0.132 273.1)

  • #601658

    #601658

    oklch(35.3% 0.132 332.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #4A2272

    #4A2272

    oklch(35.2% 0.132 303.1)

  • #483A00

    #483A00

    oklch(35.3% 0.072 93.7)

  • #004823

    #004823

    oklch(35.2% 0.09 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A2272

    #4A2272

    oklch(35.2% 0.132 303.1)

  • #583000

    #583000

    oklch(35.3% 0.081 62.8)

  • #00453E

    #00453E

    oklch(35.1% 0.062 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A2272

    #4A2272

    oklch(35.2% 0.132 303.1)

  • #6F1200

    #6F1200

    oklch(35.2% 0.129 33.1)

  • #334200

    #334200

    oklch(35.3% 0.087 123)

  • #00434E

    #00434E

    oklch(35.2% 0.062 213)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #4A2272, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #4A2272 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.