#842F4B

Closest named color: Brownish Purple (#76424E). oklch(43.6% 0.119 3), rgb(132, 47, 75).

Aa

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

About this color

#842F4B is a dark, moderately saturated red. In OKLCH its lightness is 44%, its chroma 0.119 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Brownish Purple (#76424E), ΔE 0.047 away. White text reads best on it, at 8.43:1.

Hue familyReds
Lightnessdark (44%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.48:1
White text8.43:1

Values

HEX#842F4B
RGBrgb(132, 47, 75)
HSLhsl(340, 47%, 35%)
OKLCHoklch(43.6% 0.119 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 #842F4B 8.43:1 AAA Lc -93.0 Preferred for body text
Black text on #842F4B 2.48:1 Fails Lc 15.6 Dividers and decoration only
#842F4B text on white 8.43:1 AAA Lc 88.4 Fine for body text
#842F4B text on black 2.48:1 Fails Lc -13.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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F7E5E8

    oklch(93.7% 0.02 6)

  3. Step 200

    200

    #F1CFD6

    oklch(88.5% 0.039 4)

  4. Step 300

    300

    #E8AEBC

    oklch(80.8% 0.07 2.8)

  5. Step 400

    400

    #DA829A

    oklch(70.7% 0.111 2.7)

  6. Step 500

    500

    #CE6081

    oklch(63.2% 0.143 3.1)

  7. Step 600

    600

    #B9436A

    oklch(55.6% 0.156 3.2)

  8. Step 700

    700

    #9F3459

    oklch(49.1% 0.145 2.8)

  9. Step 800

    800 (this color)

    #842F4B

    oklch(43.6% 0.119 3)

  10. Step 900

    900

    #68293D

    oklch(37.7% 0.093 2.7)

  11. Step 950

    950

    #3D1924

    oklch(27% 0.058 2.4)

Export this scale for Tailwind in the Tailwind colors tool

#842F4B 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)#40434C0.132
Deuteranopia (no green cones)#5653490.121
Tritanopia (no blue cones)#8F253A0.033
Achromatopsia (no color)#4D4D4D0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #842F4B

    #842F4B

    oklch(43.6% 0.119 3)

  • #005F55

    #005F55

    oklch(43.6% 0.078 182.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842F4B

    #842F4B

    oklch(43.6% 0.119 3)

  • #76346D

    #76346D

    oklch(43.5% 0.119 332.9)

  • #873222

    #873222

    oklch(43.6% 0.12 32.7)

Open the analogous palette in the generator

Split complementary

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

  • #842F4B

    #842F4B

    oklch(43.6% 0.119 3)

  • #006232

    #006232

    oklch(43.5% 0.111 153.2)

  • #005C6A

    #005C6A

    oklch(43.6% 0.076 212.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842F4B

    #842F4B

    oklch(43.6% 0.119 3)

  • #475A00

    #475A00

    oklch(43.6% 0.107 122.7)

  • #005686

    #005686

    oklch(43.5% 0.105 243)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842F4B

    #842F4B

    oklch(43.6% 0.119 3)

  • #625000

    #625000

    oklch(43.7% 0.09 93.9)

  • #005F55

    #005F55

    oklch(43.6% 0.078 182.6)

  • #3D4A92

    #3D4A92

    oklch(43.7% 0.119 272.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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