#4A2277

Closest named color: Indigo (#4B0082). oklch(35.6% 0.138 301.2), rgb(74, 34, 119).

Aa

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

About this color

#4A2277 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.138 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.045 away. White text reads best on it, at 11.75:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.78:1
White text11.75:1

Values

HEX#4A2277
RGBrgb(74, 34, 119)
HSLhsl(268, 56%, 30%)
OKLCHoklch(35.6% 0.138 301.2)

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 #4A2277 11.75:1 AAA Lc -100.1 Preferred for body text
Black text on #4A2277 1.78:1 Fails Lc 7.5 Not readable
#4A2277 text on white 11.75:1 AAA Lc 96.4 Preferred for body text
#4A2277 text on black 1.78: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1F9

    oklch(80.9% 0.103 301.3)

  5. Step 400

    400

    #B385F6

    oklch(70.7% 0.165 301.1)

  6. Step 500

    500

    #A260F2

    oklch(63.1% 0.211 301.4)

  7. Step 600

    600

    #8D40E1

    oklch(55.6% 0.23 300.9)

  8. Step 700

    700

    #782FC3

    oklch(49% 0.214 301)

  9. Step 800

    800

    #622A9E

    oklch(42.8% 0.177 301.2)

  10. Step 900

    900 (this color)

    #4A2277

    oklch(35.6% 0.138 301.2)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#4A2277 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)#00377A0.099
Deuteranopia (no green cones)#0037750.100
Tritanopia (no blue cones)#4036490.104
Achromatopsia (no color)#3838380.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A2277

    #4A2277

    oklch(35.6% 0.138 301.2)

  • #364200

    #364200

    oklch(35.6% 0.085 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A2277

    #4A2277

    oklch(35.6% 0.138 301.2)

  • #243083

    #243083

    oklch(35.5% 0.139 271.1)

  • #62145C

    #62145C

    oklch(35.7% 0.139 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #4A2277

    #4A2277

    oklch(35.6% 0.138 301.2)

  • #4A3A00

    #4A3A00

    oklch(35.6% 0.073 91.4)

  • #004920

    #004920

    oklch(35.5% 0.095 151.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A2277

    #4A2277

    oklch(35.6% 0.138 301.2)

  • #5A3000

    #5A3000

    oklch(35.6% 0.082 61.3)

  • #00473E

    #00473E

    oklch(35.7% 0.064 180.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A2277

    #4A2277

    oklch(35.6% 0.138 301.2)

  • #740B00

    #740B00

    oklch(35.7% 0.138 31.2)

  • #364200

    #364200

    oklch(35.6% 0.085 120.6)

  • #00444E

    #00444E

    oklch(35.5% 0.062 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4A2277 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.