#842A6B

Closest named color: Mulberry (#920A4E). oklch(44.3% 0.144 340.6), rgb(132, 42, 107).

Aa

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

About this color

#842A6B is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.144 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.057 away. White text reads best on it, at 8.31:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.144)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.52:1
White text8.31:1

Values

HEX#842A6B
RGBrgb(132, 42, 107)
HSLhsl(317, 52%, 34%)
OKLCHoklch(44.3% 0.144 340.6)

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 #842A6B 8.31:1 AAA Lc -92.6 Preferred for body text
Black text on #842A6B 2.52:1 Fails Lc 16.1 Dividers and decoration only
#842A6B text on white 8.31:1 AAA Lc 87.9 Fine for body text
#842A6B text on black 2.52:1 Fails Lc -14.3 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

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CEE3

    oklch(88.6% 0.047 340.6)

  4. Step 300

    300

    #E7ACD1

    oklch(81% 0.084 341.1)

  5. Step 400

    400

    #D87DBA

    oklch(70.7% 0.135 340.6)

  6. Step 500

    500

    #CB58A9

    oklch(63.1% 0.173 340.5)

  7. Step 600

    600

    #B63994

    oklch(55.6% 0.187 340.5)

  8. Step 700

    700

    #9C2A7E

    oklch(49.1% 0.174 340.5)

  9. Step 800

    800 (this color)

    #842A6B

    oklch(44.3% 0.144 340.6)

  10. Step 900

    900

    #662453

    oklch(37.6% 0.112 340.5)

  11. Step 950

    950

    #3C1631

    oklch(26.9% 0.071 340)

Export this scale for Tailwind in the Tailwind colors tool

#842A6B 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)#30456D0.156
Deuteranopia (no green cones)#4B53690.137
Tritanopia (no blue cones)#8C2C460.066
Achromatopsia (no color)#4E4E4E0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #842A6B

    #842A6B

    oklch(44.3% 0.144 340.6)

  • #006440

    #006440

    oklch(44.4% 0.1 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842A6B

    #842A6B

    oklch(44.3% 0.144 340.6)

  • #6C368D

    #6C368D

    oklch(44.3% 0.144 310.5)

  • #912440

    #912440

    oklch(44.3% 0.144 10.5)

Open the analogous palette in the generator

Split complementary

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

  • #842A6B

    #842A6B

    oklch(44.3% 0.144 340.6)

  • #3B6000

    #3B6000

    oklch(44.4% 0.121 130.8)

  • #00605D

    #00605D

    oklch(44.2% 0.076 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842A6B

    #842A6B

    oklch(44.3% 0.144 340.6)

  • #5F5400

    #5F5400

    oklch(44.3% 0.092 100.6)

  • #005D72

    #005D72

    oklch(44.3% 0.081 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842A6B

    #842A6B

    oklch(44.3% 0.144 340.6)

  • #744800

    #744800

    oklch(44.2% 0.096 70.1)

  • #006440

    #006440

    oklch(44.4% 0.1 160.2)

  • #005596

    #005596

    oklch(44.4% 0.127 250.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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