#781B62

Closest named color: Velvet (#750851). oklch(40.4% 0.149 339.4), rgb(120, 27, 98).

Aa

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

About this color

#781B62 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.149 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.033 away. White text reads best on it, at 9.85:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.13:1
White text9.85:1

Values

HEX#781B62
RGBrgb(120, 27, 98)
HSLhsl(314, 63%, 29%)
OKLCHoklch(40.4% 0.149 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 #781B62 9.85:1 AAA Lc -96.0 Preferred for body text
Black text on #781B62 2.13:1 Fails Lc 12.2 Not readable
#781B62 text on white 9.85:1 AAA Lc 91.7 Preferred for body text
#781B62 text on black 2.13:1 Fails Lc -10.6 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

    #D87CBD

    oklch(70.7% 0.139 339)

  6. Step 500

    500

    #CB56AC

    oklch(63% 0.178 339.1)

  7. Step 600

    600

    #B73697

    oklch(55.6% 0.194 339.5)

  8. Step 700

    700

    #9D2781

    oklch(49.1% 0.18 339.3)

  9. Step 800

    800 (this color)

    #781B62

    oklch(40.4% 0.149 339.4)

  10. Step 900

    900

    #672355

    oklch(37.7% 0.116 339.5)

  11. Step 950

    950

    #3D1632

    oklch(27.1% 0.073 339.7)

Export this scale for Tailwind in the Tailwind colors tool

#781B62 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)#213A640.164
Deuteranopia (no green cones)#4049600.141
Tritanopia (no blue cones)#7F1F3C0.070
Achromatopsia (no color)#4343430.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #781B62

    #781B62

    oklch(40.4% 0.149 339.4)

  • #005736

    #005736

    oklch(40.3% 0.092 159.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #781B62

    #781B62

    oklch(40.4% 0.149 339.4)

  • #602983

    #602983

    oklch(40.3% 0.148 309.3)

  • #851137

    #851137

    oklch(40.3% 0.149 9.2)

Open the analogous palette in the generator

Split complementary

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

  • #781B62

    #781B62

    oklch(40.4% 0.149 339.4)

  • #355300

    #355300

    oklch(40.3% 0.108 129.5)

  • #005451

    #005451

    oklch(40.3% 0.069 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #781B62

    #781B62

    oklch(40.4% 0.149 339.4)

  • #544900

    #544900

    oklch(40.4% 0.084 99.4)

  • #005164

    #005164

    oklch(40.3% 0.074 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #781B62

    #781B62

    oklch(40.4% 0.149 339.4)

  • #673E00

    #673E00

    oklch(40.3% 0.088 68.5)

  • #005736

    #005736

    oklch(40.3% 0.092 159.4)

  • #004B82

    #004B82

    oklch(40.5% 0.112 249.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #781B62 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.