#4A2771

Closest named color: Royal Purple (#4B006E). oklch(35.9% 0.123 302.3), rgb(74, 39, 113).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.81:1
White text11.53:1

Values

HEX#4A2771
RGBrgb(74, 39, 113)
HSLhsl(268, 49%, 30%)
OKLCHoklch(35.9% 0.123 302.3)

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 #4A2771 11.53:1 AAA Lc -99.9 Preferred for body text
Black text on #4A2771 1.81:1 Fails Lc 7.8 Not readable
#4A2771 text on white 11.53:1 AAA Lc 96.1 Preferred for body text
#4A2771 text on black 1.81: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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F6

    oklch(88.5% 0.051 301.8)

  4. Step 300

    300

    #CCB3F3

    oklch(81% 0.092 302.3)

  5. Step 400

    400

    #B388EC

    oklch(70.7% 0.148 302.6)

  6. Step 500

    500

    #A066E6

    oklch(63% 0.189 302.2)

  7. Step 600

    600

    #8C49D4

    oklch(55.6% 0.205 302.3)

  8. Step 700

    700

    #7739B8

    oklch(49.1% 0.191 302.1)

  9. Step 800

    800

    #613095

    oklch(42.7% 0.159 302.4)

  10. Step 900

    900 (this color)

    #4A2771

    oklch(35.9% 0.123 302.3)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#4A2771 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)#0038730.096
Deuteranopia (no green cones)#0F396F0.090
Tritanopia (no blue cones)#4237480.092
Achromatopsia (no color)#3939390.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A2771

    #4A2771

    oklch(35.9% 0.123 302.3)

  • #354300

    #354300

    oklch(35.7% 0.087 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A2771

    #4A2771

    oklch(35.9% 0.123 302.3)

  • #29337C

    #29337C

    oklch(35.8% 0.123 272.7)

  • #601C58

    #601C58

    oklch(35.9% 0.124 332.9)

Open the analogous palette in the generator

Split complementary

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

  • #4A2771

    #4A2771

    oklch(35.9% 0.123 302.3)

  • #4A3B00

    #4A3B00

    oklch(35.8% 0.073 92.8)

  • #004A23

    #004A23

    oklch(35.8% 0.093 152.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A2771

    #4A2771

    oklch(35.9% 0.123 302.3)

  • #5A3100

    #5A3100

    oklch(35.8% 0.082 62.6)

  • #00473F

    #00473F

    oklch(35.7% 0.064 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A2771

    #4A2771

    oklch(35.9% 0.123 302.3)

  • #6F1809

    #6F1809

    oklch(35.8% 0.123 32.2)

  • #354300

    #354300

    oklch(35.7% 0.087 122.1)

  • #004550

    #004550

    oklch(35.9% 0.063 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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