#4B2871

Closest named color: Royal Purple (#4B006E). oklch(36.2% 0.122 302.8), rgb(75, 40, 113).

Aa

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

About this color

#4B2871 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.122 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.060 away. White text reads best on it, at 11.40:1.

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

Values

HEX#4B2871
RGBrgb(75, 40, 113)
HSLhsl(269, 48%, 30%)
OKLCHoklch(36.2% 0.122 302.8)

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 #4B2871 11.40:1 AAA Lc -99.7 Preferred for body text
Black text on #4B2871 1.84:1 Fails Lc 8.0 Not readable
#4B2871 text on white 11.40:1 AAA Lc 95.9 Preferred for body text
#4B2871 text on black 1.84: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  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

    #CCB3F2

    oklch(81% 0.091 302.6)

  5. Step 400

    400

    #B388EB

    oklch(70.7% 0.146 302.9)

  6. Step 500

    500

    #A166E5

    oklch(63.1% 0.188 302.8)

  7. Step 600

    600

    #8D49D3

    oklch(55.7% 0.204 302.9)

  8. Step 700

    700

    #7839B6

    oklch(49.1% 0.189 303.1)

  9. Step 800

    800

    #613094

    oklch(42.6% 0.158 302.7)

  10. Step 900

    900 (this color)

    #4B2871

    oklch(36.2% 0.122 302.8)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#4B2871 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)#0039730.097
Deuteranopia (no green cones)#133A6F0.089
Tritanopia (no blue cones)#4437480.090
Achromatopsia (no color)#3A3A3A0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4B2871

    #4B2871

    oklch(36.2% 0.122 302.8)

  • #354400

    #354400

    oklch(36% 0.088 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4B2871

    #4B2871

    oklch(36.2% 0.122 302.8)

  • #2A347C

    #2A347C

    oklch(36.1% 0.122 272.8)

  • #601E58

    #601E58

    oklch(36.1% 0.121 332.9)

Open the analogous palette in the generator

Split complementary

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

  • #4B2871

    #4B2871

    oklch(36.2% 0.122 302.8)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

  • #004B24

    #004B24

    oklch(36.2% 0.094 152.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4B2871

    #4B2871

    oklch(36.2% 0.122 302.8)

  • #5B3200

    #5B3200

    oklch(36.1% 0.082 63.1)

  • #004841

    #004841

    oklch(36.1% 0.064 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4B2871

    #4B2871

    oklch(36.2% 0.122 302.8)

  • #701A0A

    #701A0A

    oklch(36.2% 0.122 32.6)

  • #354400

    #354400

    oklch(36% 0.088 122.7)

  • #004651

    #004651

    oklch(36.2% 0.063 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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