#842F6B

Closest named color: Light Eggplant (#894585). oklch(44.9% 0.137 341), rgb(132, 47, 107).

Aa

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

About this color

#842F6B is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.137 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.058 away. White text reads best on it, at 8.07:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameLight Eggplant (#894585)
Black text2.60:1
White text8.07:1

Values

HEX#842F6B
RGBrgb(132, 47, 107)
HSLhsl(318, 47%, 35%)
OKLCHoklch(44.9% 0.137 341)

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 #842F6B 8.07:1 AAA Lc -92.0 Preferred for body text
Black text on #842F6B 2.60:1 Fails Lc 16.7 Dividers and decoration only
#842F6B text on white 8.07:1 AAA Lc 87.3 Fine for body text
#842F6B text on black 2.60:1 Fails Lc -14.8 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 800.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EFCEE2

    oklch(88.5% 0.045 341.1)

  4. Step 300

    300

    #E5ADD0

    oklch(81% 0.079 341.1)

  5. Step 400

    400

    #D67FB8

    oklch(70.7% 0.128 341.2)

  6. Step 500

    500

    #C85CA6

    oklch(63.1% 0.162 341.1)

  7. Step 600

    600

    #B33E91

    oklch(55.5% 0.177 341.1)

  8. Step 700

    700

    #9A2F7C

    oklch(49.1% 0.165 341)

  9. Step 800

    800 (this color)

    #842F6B

    oklch(44.9% 0.137 341)

  10. Step 900

    900

    #652652

    oklch(37.6% 0.107 341)

  11. Step 950

    950

    #3B1730

    oklch(26.9% 0.067 340.5)

Export this scale for Tailwind in the Tailwind colors tool

#842F6B 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)#34476D0.147
Deuteranopia (no green cones)#4E55690.130
Tritanopia (no blue cones)#8C30480.062
Achromatopsia (no color)#5050500.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #842F6B

    #842F6B

    oklch(44.9% 0.137 341)

  • #006542

    #006542

    oklch(44.8% 0.1 161)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842F6B

    #842F6B

    oklch(44.9% 0.137 341)

  • #6D3A8B

    #6D3A8B

    oklch(44.9% 0.135 311.2)

  • #902A42

    #902A42

    oklch(44.8% 0.137 10.7)

Open the analogous palette in the generator

Split complementary

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

  • #842F6B

    #842F6B

    oklch(44.9% 0.137 341)

  • #3C6200

    #3C6200

    oklch(45% 0.123 130.9)

  • #00625F

    #00625F

    oklch(44.8% 0.077 191.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842F6B

    #842F6B

    oklch(44.9% 0.137 341)

  • #605600

    #605600

    oklch(44.9% 0.094 101.6)

  • #005F75

    #005F75

    oklch(44.9% 0.082 220.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842F6B

    #842F6B

    oklch(44.9% 0.137 341)

  • #764A00

    #764A00

    oklch(44.9% 0.097 70.8)

  • #006542

    #006542

    oklch(44.8% 0.1 161)

  • #00569A

    #00569A

    oklch(44.9% 0.131 251.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #842F6B.

Similar named colors

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

Use #842F6B 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.