#782666

Closest named color: Velvet (#750851). oklch(41.7% 0.137 337.6), rgb(120, 38, 102).

Aa

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

About this color

#782666 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.137 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.048 away. White text reads best on it, at 9.26:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.26:1
White text9.26:1

Values

HEX#782666
RGBrgb(120, 38, 102)
HSLhsl(313, 52%, 31%)
OKLCHoklch(41.7% 0.137 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 #782666 9.26:1 AAA Lc -95.0 Preferred for body text
Black text on #782666 2.26:1 Fails Lc 13.4 Not readable
#782666 text on white 9.26:1 AAA Lc 90.6 Preferred for body text
#782666 text on black 2.26:1 Fails Lc -11.7 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

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE4

    oklch(88.5% 0.046 337.4)

  4. Step 300

    300

    #E3ADD3

    oklch(80.9% 0.08 337.5)

  5. Step 400

    400

    #D380BD

    oklch(70.7% 0.128 337.4)

  6. Step 500

    500

    #C65CAC

    oklch(63.1% 0.165 337.7)

  7. Step 600

    600

    #B13F97

    oklch(55.6% 0.178 337.9)

  8. Step 700

    700

    #983081

    oklch(49.2% 0.166 337.8)

  9. Step 800

    800 (this color)

    #782666

    oklch(41.7% 0.137 337.6)

  10. Step 900

    900

    #642755

    oklch(37.8% 0.107 338.1)

  11. Step 950

    950

    #3B1832

    oklch(27.1% 0.067 338.1)

Export this scale for Tailwind in the Tailwind colors tool

#782666 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)#293F680.147
Deuteranopia (no green cones)#434C640.128
Tritanopia (no blue cones)#7F2A420.066
Achromatopsia (no color)#4747470.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #782666

    #782666

    oklch(41.7% 0.137 337.6)

  • #005C36

    #005C36

    oklch(41.8% 0.099 157.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #782666

    #782666

    oklch(41.7% 0.137 337.6)

  • #613185

    #613185

    oklch(41.7% 0.139 307.8)

  • #85203E

    #85203E

    oklch(41.7% 0.137 7.9)

Open the analogous palette in the generator

Split complementary

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

  • #782666

    #782666

    oklch(41.7% 0.137 337.6)

  • #3B5600

    #3B5600

    oklch(41.6% 0.108 127.6)

  • #005953

    #005953

    oklch(41.8% 0.073 186.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #782666

    #782666

    oklch(41.7% 0.137 337.6)

  • #594C00

    #594C00

    oklch(41.7% 0.086 97.9)

  • #005667

    #005667

    oklch(41.8% 0.075 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #782666

    #782666

    oklch(41.7% 0.137 337.6)

  • #6C4100

    #6C4100

    oklch(41.7% 0.091 68.2)

  • #005C36

    #005C36

    oklch(41.8% 0.099 157.2)

  • #004F85

    #004F85

    oklch(41.7% 0.111 247.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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