#4A2F5B

Closest named color: Grape Purple (#5D1451). oklch(35.8% 0.08 311.2), rgb(74, 47, 91).

Aa

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

About this color

#4A2F5B is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.080 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.065 away. White text reads best on it, at 11.35:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.84:1
White text11.35:1

Values

HEX#4A2F5B
RGBrgb(74, 47, 91)
HSLhsl(277, 32%, 27%)
OKLCHoklch(35.8% 0.08 311.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 #4A2F5B 11.35:1 AAA Lc -99.8 Preferred for body text
Black text on #4A2F5B 1.84:1 Fails Lc 7.8 Not readable
#4A2F5B text on white 11.35:1 AAA Lc 96.0 Preferred for body text
#4A2F5B 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E0D3EA

    oklch(88.4% 0.034 310.7)

  4. Step 300

    300

    #CDB6DE

    oklch(80.9% 0.061 310.8)

  5. Step 400

    400

    #B48FCD

    oklch(70.6% 0.097 311.2)

  6. Step 500

    500

    #A173C0

    oklch(63.1% 0.122 310.7)

  7. Step 600

    600

    #8C5AAC

    oklch(55.6% 0.133 310.9)

  8. Step 700

    700

    #774994

    oklch(49.1% 0.125 310.9)

  9. Step 800

    800

    #613C78

    oklch(42.6% 0.104 311.2)

  10. Step 900

    900 (this color)

    #4A2F5B

    oklch(35.8% 0.08 311.2)

  11. Step 950

    950

    #2E1F39

    oklch(27% 0.051 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#4A2F5B 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)#25395D0.064
Deuteranopia (no green cones)#2D3B5A0.058
Tritanopia (no blue cones)#4836400.057
Achromatopsia (no color)#3A3A3A0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A2F5B

    #4A2F5B

    oklch(35.8% 0.08 311.2)

  • #2D4513

    #2D4513

    oklch(35.9% 0.081 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A2F5B

    #4A2F5B

    oklch(35.8% 0.08 311.2)

  • #363665

    #363665

    oklch(35.7% 0.08 281.6)

  • #582A49

    #582A49

    oklch(35.8% 0.08 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #4A2F5B

    #4A2F5B

    oklch(35.8% 0.08 311.2)

  • #453D00

    #453D00

    oklch(35.7% 0.075 101.1)

  • #00492F

    #00492F

    oklch(35.8% 0.079 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A2F5B

    #4A2F5B

    oklch(35.8% 0.08 311.2)

  • #553400

    #553400

    oklch(35.7% 0.077 70.8)

  • #004644

    #004644

    oklch(35.6% 0.061 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A2F5B

    #4A2F5B

    oklch(35.8% 0.08 311.2)

  • #5F2C18

    #5F2C18

    oklch(35.8% 0.081 41.3)

  • #2D4513

    #2D4513

    oklch(35.9% 0.081 131.3)

  • #004455

    #004455

    oklch(35.8% 0.066 221.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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