#7A1B64

Closest named color: Velvet (#750851). oklch(40.8% 0.151 339.1), rgb(122, 27, 100).

Aa

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

About this color

#7A1B64 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.151 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.037 away. White text reads best on it, at 9.68:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.16:1
White text9.68:1

Values

HEX#7A1B64
RGBrgb(122, 27, 100)
HSLhsl(314, 64%, 29%)
OKLCHoklch(40.8% 0.151 339.1)

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 #7A1B64 9.68:1 AAA Lc -95.6 Preferred for body text
Black text on #7A1B64 2.16:1 Fails Lc 12.6 Not readable
#7A1B64 text on white 9.68:1 AAA Lc 91.3 Preferred for body text
#7A1B64 text on black 2.16:1 Fails Lc -11.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 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

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E7ABD3

    oklch(80.9% 0.087 339.3)

  5. Step 400

    400

    #D97BBD

    oklch(70.6% 0.142 339.3)

  6. Step 500

    500

    #CC55AD

    oklch(63% 0.181 338.9)

  7. Step 600

    600

    #B73498

    oklch(55.5% 0.197 339)

  8. Step 700

    700

    #9E2582

    oklch(49.2% 0.183 339.2)

  9. Step 800

    800 (this color)

    #7A1B64

    oklch(40.8% 0.151 339.1)

  10. Step 900

    900

    #672256

    oklch(37.6% 0.118 338.7)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#7A1B64 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)#213B660.167
Deuteranopia (no green cones)#404A620.144
Tritanopia (no blue cones)#811F3D0.071
Achromatopsia (no color)#4444440.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A1B64

    #7A1B64

    oklch(40.8% 0.151 339.1)

  • #005937

    #005937

    oklch(40.9% 0.094 159.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A1B64

    #7A1B64

    oklch(40.8% 0.151 339.1)

  • #622986

    #622986

    oklch(40.8% 0.152 309.4)

  • #871138

    #871138

    oklch(40.7% 0.151 9.1)

Open the analogous palette in the generator

Split complementary

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

  • #7A1B64

    #7A1B64

    oklch(40.8% 0.151 339.1)

  • #375400

    #375400

    oklch(40.7% 0.108 128.9)

  • #005652

    #005652

    oklch(40.9% 0.071 189.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A1B64

    #7A1B64

    oklch(40.8% 0.151 339.1)

  • #554A00

    #554A00

    oklch(40.8% 0.085 99.5)

  • #005365

    #005365

    oklch(40.9% 0.074 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A1B64

    #7A1B64

    oklch(40.8% 0.151 339.1)

  • #683F00

    #683F00

    oklch(40.7% 0.089 68.9)

  • #005937

    #005937

    oklch(40.9% 0.094 159.1)

  • #004C84

    #004C84

    oklch(40.9% 0.113 249.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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