#7A2F72

Closest named color: Purple (#800080). oklch(43.7% 0.135 332), rgb(122, 47, 114).

Aa

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

About this color

#7A2F72 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.135 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.062 away. White text reads best on it, at 8.47:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest namePurple (#800080)
Black text2.47:1
White text8.47:1

Values

HEX#7A2F72
RGBrgb(122, 47, 114)
HSLhsl(306, 44%, 33%)
OKLCHoklch(43.7% 0.135 332)

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 #7A2F72 8.47:1 AAA Lc -93.2 Preferred for body text
Black text on #7A2F72 2.47:1 Fails Lc 15.4 Dividers and decoration only
#7A2F72 text on white 8.47:1 AAA Lc 88.6 Fine for body text
#7A2F72 text on black 2.47:1 Fails Lc -13.6 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E5F1

    oklch(93.7% 0.023 332.4)

  3. Step 200

    200

    #EBCFE6

    oklch(88.5% 0.044 331.9)

  4. Step 300

    300

    #E0AED7

    oklch(80.9% 0.079 332.6)

  5. Step 400

    400

    #CE82C3

    oklch(70.7% 0.125 332.2)

  6. Step 500

    500

    #C060B4

    oklch(63.2% 0.16 332.2)

  7. Step 600

    600

    #AB43A0

    oklch(55.6% 0.175 332)

  8. Step 700

    700

    #923489

    oklch(49.1% 0.162 331.7)

  9. Step 800

    800 (this color)

    #7A2F72

    oklch(43.7% 0.135 332)

  10. Step 900

    900

    #60295A

    oklch(37.7% 0.104 331.7)

  11. Step 950

    950

    #391935

    oklch(27.2% 0.066 332.1)

Export this scale for Tailwind in the Tailwind colors tool

#7A2F72 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)#2C46740.139
Deuteranopia (no green cones)#4451700.122
Tritanopia (no blue cones)#7F354C0.070
Achromatopsia (no color)#4D4D4D0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A2F72

    #7A2F72

    oklch(43.7% 0.135 332)

  • #006330

    #006330

    oklch(43.8% 0.115 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A2F72

    #7A2F72

    oklch(43.7% 0.135 332)

  • #603A8E

    #603A8E

    oklch(43.6% 0.135 301.9)

  • #89284C

    #89284C

    oklch(43.7% 0.135 1.8)

Open the analogous palette in the generator

Split complementary

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

  • #7A2F72

    #7A2F72

    oklch(43.7% 0.135 332)

  • #485A00

    #485A00

    oklch(43.7% 0.106 122.1)

  • #005F55

    #005F55

    oklch(43.6% 0.078 182.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A2F72

    #7A2F72

    oklch(43.7% 0.135 332)

  • #634F00

    #634F00

    oklch(43.6% 0.089 92)

  • #005C6A

    #005C6A

    oklch(43.6% 0.076 212.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A2F72

    #7A2F72

    oklch(43.7% 0.135 332)

  • #784300

    #784300

    oklch(43.8% 0.1 62.4)

  • #006330

    #006330

    oklch(43.8% 0.115 152.1)

  • #005785

    #005785

    oklch(43.7% 0.103 241.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7A2F72 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.