#7F1F68

Closest named color: Velvet (#750851). oklch(42.2% 0.153 339.4), rgb(127, 31, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.29:1
White text9.13:1

Values

HEX#7F1F68
RGBrgb(127, 31, 104)
HSLhsl(314, 61%, 31%)
OKLCHoklch(42.2% 0.153 339.4)

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 #7F1F68 9.13:1 AAA Lc -94.4 Preferred for body text
Black text on #7F1F68 2.29:1 Fails Lc 14.0 Not readable
#7F1F68 text on white 9.13:1 AAA Lc 90.0 Fine for body text
#7F1F68 text on black 2.29:1 Fails Lc -12.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

    #FBF2F8

    oklch(97% 0.012 337.5)

  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

    #E8AAD3

    oklch(80.8% 0.09 339.6)

  5. Step 400

    400

    #DA7BBD

    oklch(70.8% 0.142 339.6)

  6. Step 500

    500

    #CD54AD

    oklch(63.1% 0.183 339.2)

  7. Step 600

    600

    #B83398

    oklch(55.6% 0.199 339.3)

  8. Step 700

    700

    #9E2482

    oklch(49.1% 0.184 339.2)

  9. Step 800

    800 (this color)

    #7F1F68

    oklch(42.2% 0.153 339.4)

  10. Step 900

    900

    #682256

    oklch(37.8% 0.119 339.3)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F1F68 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)#253E6A0.168
Deuteranopia (no green cones)#444E660.146
Tritanopia (no blue cones)#8723410.071
Achromatopsia (no color)#4848480.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1F68

    #7F1F68

    oklch(42.2% 0.153 339.4)

  • #005D3A

    #005D3A

    oklch(42.2% 0.096 159.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1F68

    #7F1F68

    oklch(42.2% 0.153 339.4)

  • #662D8B

    #662D8B

    oklch(42.2% 0.153 309.2)

  • #8D163B

    #8D163B

    oklch(42.3% 0.153 9.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F1F68

    #7F1F68

    oklch(42.2% 0.153 339.4)

  • #395900

    #395900

    oklch(42.3% 0.113 129.6)

  • #005A56

    #005A56

    oklch(42.2% 0.073 189.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1F68

    #7F1F68

    oklch(42.2% 0.153 339.4)

  • #5A4E00

    #5A4E00

    oklch(42.3% 0.088 99.1)

  • #00576A

    #00576A

    oklch(42.2% 0.076 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1F68

    #7F1F68

    oklch(42.2% 0.153 339.4)

  • #6D4300

    #6D4300

    oklch(42.2% 0.092 69.7)

  • #005D3A

    #005D3A

    oklch(42.2% 0.096 159.3)

  • #00508A

    #00508A

    oklch(42.3% 0.117 249)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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