#7B1A66

Closest named color: Velvet (#750851). oklch(41% 0.154 338.5), rgb(123, 26, 102).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.18:1
White text9.62:1

Values

HEX#7B1A66
RGBrgb(123, 26, 102)
HSLhsl(313, 65%, 29%)
OKLCHoklch(41% 0.154 338.5)

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 #7B1A66 9.62:1 AAA Lc -95.5 Preferred for body text
Black text on #7B1A66 2.18:1 Fails Lc 12.8 Not readable
#7B1A66 text on white 9.62:1 AAA Lc 91.1 Preferred for body text
#7B1A66 text on black 2.18:1 Fails Lc -11.2 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

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E8AAD5

    oklch(80.9% 0.091 338.2)

  5. Step 400

    400

    #DA7ABF

    oklch(70.7% 0.146 338.5)

  6. Step 500

    500

    #CD54AF

    oklch(63.2% 0.185 338.4)

  7. Step 600

    600

    #B8329A

    oklch(55.6% 0.201 338.5)

  8. Step 700

    700

    #9E2384

    oklch(49.1% 0.187 338.3)

  9. Step 800

    800 (this color)

    #7B1A66

    oklch(41% 0.154 338.5)

  10. Step 900

    900

    #682157

    oklch(37.7% 0.121 338.5)

  11. Step 950

    950

    #3D1533

    oklch(27% 0.076 338.3)

Export this scale for Tailwind in the Tailwind colors tool

#7B1A66 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)#1F3B680.171
Deuteranopia (no green cones)#404A640.146
Tritanopia (no blue cones)#821F3E0.073
Achromatopsia (no color)#4545450.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B1A66

    #7B1A66

    oklch(41% 0.154 338.5)

  • #005936

    #005936

    oklch(40.9% 0.095 158.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B1A66

    #7B1A66

    oklch(41% 0.154 338.5)

  • #622988

    #622988

    oklch(40.9% 0.154 308.6)

  • #890E39

    #890E39

    oklch(41% 0.155 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #7B1A66

    #7B1A66

    oklch(41% 0.154 338.5)

  • #385500

    #385500

    oklch(41.1% 0.109 128.8)

  • #005652

    #005652

    oklch(40.9% 0.071 189.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B1A66

    #7B1A66

    oklch(41% 0.154 338.5)

  • #564A00

    #564A00

    oklch(40.9% 0.085 98.6)

  • #005365

    #005365

    oklch(40.9% 0.074 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B1A66

    #7B1A66

    oklch(41% 0.154 338.5)

  • #694000

    #694000

    oklch(41% 0.089 69.3)

  • #005936

    #005936

    oklch(40.9% 0.095 158.5)

  • #004D83

    #004D83

    oklch(41.1% 0.111 248.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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