#7A1F67

Closest named color: Velvet (#750851). oklch(41.3% 0.149 337.6), rgb(122, 31, 103).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.21:1
White text9.46:1

Values

HEX#7A1F67
RGBrgb(122, 31, 103)
HSLhsl(313, 59%, 30%)
OKLCHoklch(41.3% 0.149 337.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 #7A1F67 9.46:1 AAA Lc -95.2 Preferred for body text
Black text on #7A1F67 2.21:1 Fails Lc 13.1 Not readable
#7A1F67 text on white 9.46:1 AAA Lc 90.9 Preferred for body text
#7A1F67 text on black 2.21:1 Fails Lc -11.5 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

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #EFCDE5

    oklch(88.4% 0.049 336.6)

  4. Step 300

    300

    #E6ABD5

    oklch(80.9% 0.088 337.3)

  5. Step 400

    400

    #D77CBF

    oklch(70.6% 0.14 337.6)

  6. Step 500

    500

    #CA57AF

    oklch(63.1% 0.178 337.6)

  7. Step 600

    600

    #B5379A

    oklch(55.6% 0.193 337.7)

  8. Step 700

    700

    #9C2884

    oklch(49.2% 0.18 337.7)

  9. Step 800

    800 (this color)

    #7A1F67

    oklch(41.3% 0.149 337.6)

  10. Step 900

    900

    #662357

    oklch(37.7% 0.117 337.5)

  11. Step 950

    950

    #3C1633

    oklch(27% 0.073 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#7A1F67 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)#223D690.163
Deuteranopia (no green cones)#414B650.140
Tritanopia (no blue cones)#8124400.072
Achromatopsia (no color)#4646460.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A1F67

    #7A1F67

    oklch(41.3% 0.149 337.6)

  • #005A36

    #005A36

    oklch(41.2% 0.096 158)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A1F67

    #7A1F67

    oklch(41.3% 0.149 337.6)

  • #612D88

    #612D88

    oklch(41.3% 0.148 307.4)

  • #88163C

    #88163C

    oklch(41.4% 0.149 7.8)

Open the analogous palette in the generator

Split complementary

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

  • #7A1F67

    #7A1F67

    oklch(41.3% 0.149 337.6)

  • #3A5500

    #3A5500

    oklch(41.2% 0.107 127.7)

  • #005852

    #005852

    oklch(41.4% 0.072 186.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A1F67

    #7A1F67

    oklch(41.3% 0.149 337.6)

  • #584B00

    #584B00

    oklch(41.3% 0.085 97.7)

  • #005566

    #005566

    oklch(41.5% 0.074 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A1F67

    #7A1F67

    oklch(41.3% 0.149 337.6)

  • #6B4000

    #6B4000

    oklch(41.3% 0.091 67.8)

  • #005A36

    #005A36

    oklch(41.2% 0.096 158)

  • #004E83

    #004E83

    oklch(41.3% 0.11 247.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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