#7F1F64

Closest named color: Velvet (#750851). oklch(42% 0.15 341.6), rgb(127, 31, 100).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.28:1
White text9.20:1

Values

HEX#7F1F64
RGBrgb(127, 31, 100)
HSLhsl(317, 61%, 31%)
OKLCHoklch(42% 0.15 341.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 #7F1F64 9.20:1 AAA Lc -94.6 Preferred for body text
Black text on #7F1F64 2.28:1 Fails Lc 13.8 Not readable
#7F1F64 text on white 9.20:1 AAA Lc 90.1 Preferred for body text
#7F1F64 text on black 2.28:1 Fails Lc -12.1 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

    #F7E4EF

    oklch(93.7% 0.025 341.8)

  3. Step 200

    200

    #F1CDE2

    oklch(88.5% 0.049 342.3)

  4. Step 300

    300

    #E9ABD1

    oklch(81% 0.087 341.9)

  5. Step 400

    400

    #DB7BBA

    oklch(70.8% 0.141 341.5)

  6. Step 500

    500

    #CE55A8

    oklch(63.1% 0.179 341.6)

  7. Step 600

    600

    #B93493

    oklch(55.6% 0.195 341.7)

  8. Step 700

    700

    #9F257D

    oklch(49.1% 0.181 341.8)

  9. Step 800

    800 (this color)

    #7F1F64

    oklch(42% 0.15 341.6)

  10. Step 900

    900

    #682253

    oklch(37.7% 0.117 341.5)

  11. Step 950

    950

    #3D1531

    oklch(26.9% 0.074 340.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F1F64 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)#273E660.166
Deuteranopia (no green cones)#464D620.142
Tritanopia (no blue cones)#87213F0.067
Achromatopsia (no color)#4848480.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1F64

    #7F1F64

    oklch(42% 0.15 341.6)

  • #005C3D

    #005C3D

    oklch(42% 0.092 161.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1F64

    #7F1F64

    oklch(42% 0.15 341.6)

  • #672C87

    #672C87

    oklch(41.9% 0.15 311.4)

  • #8B1737

    #8B1737

    oklch(41.9% 0.15 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F1F64

    #7F1F64

    oklch(42% 0.15 341.6)

  • #355900

    #355900

    oklch(42% 0.115 131.4)

  • #005957

    #005957

    oklch(41.9% 0.072 192.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1F64

    #7F1F64

    oklch(42% 0.15 341.6)

  • #574E00

    #574E00

    oklch(42% 0.088 101.8)

  • #00566B

    #00566B

    oklch(42% 0.077 221.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1F64

    #7F1F64

    oklch(42% 0.15 341.6)

  • #6B4300

    #6B4300

    oklch(41.9% 0.09 71.2)

  • #005C3D

    #005C3D

    oklch(42% 0.092 161.9)

  • #004E8E

    #004E8E

    oklch(42.1% 0.124 251.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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