#791158

Closest named color: Velvet (#750851). oklch(39.3% 0.153 345), rgb(121, 17, 88).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.03:1
White text10.32:1

Values

HEX#791158
RGBrgb(121, 17, 88)
HSLhsl(319, 75%, 27%)
OKLCHoklch(39.3% 0.153 345)

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 #791158 10.32:1 AAA Lc -96.7 Preferred for body text
Black text on #791158 2.03:1 Fails Lc 11.4 Not readable
#791158 text on white 10.32:1 AAA Lc 92.5 Preferred for body text
#791158 text on black 2.03:1 Fails Lc -9.9 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 900.

  1. Step 50

    50

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE2EF

    oklch(93.7% 0.032 345)

  3. Step 200

    200

    #F9C9E3

    oklch(88.5% 0.064 344.7)

  4. Step 300

    300

    #F6A2D2

    oklch(80.9% 0.116 344.7)

  5. Step 400

    400

    #ED6ABA

    oklch(70.7% 0.184 345.2)

  6. Step 500

    500

    #E334A9

    oklch(63.2% 0.234 345.1)

  7. Step 600

    600

    #C80092

    oklch(55.5% 0.236 344.9)

  8. Step 700

    700

    #AA007B

    oklch(49.2% 0.209 345.1)

  9. Step 800

    800

    #8C0065

    oklch(42.7% 0.182 344.9)

  10. Step 900

    900 (this color)

    #791158

    oklch(39.3% 0.153 345)

  11. Step 950

    950

    #440B31

    oklch(26.9% 0.096 344.7)

Export this scale for Tailwind in the Tailwind colors tool

#791158 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)#21355A0.172
Deuteranopia (no green cones)#4146560.147
Tritanopia (no blue cones)#820F340.065
Achromatopsia (no color)#4040400.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #791158

    #791158

    oklch(39.3% 0.153 345)

  • #00533A

    #00533A

    oklch(39.2% 0.083 164.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #791158

    #791158

    oklch(39.3% 0.153 345)

  • #63217C

    #63217C

    oklch(39.3% 0.152 315)

  • #84062A

    #84062A

    oklch(39.3% 0.153 15)

Open the analogous palette in the generator

Split complementary

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

  • #791158

    #791158

    oklch(39.3% 0.153 345)

  • #275200

    #275200

    oklch(39.2% 0.115 135.1)

  • #005151

    #005151

    oklch(39.4% 0.067 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #791158

    #791158

    oklch(39.3% 0.153 345)

  • #4D4800

    #4D4800

    oklch(39.4% 0.084 105.1)

  • #004E64

    #004E64

    oklch(39.4% 0.075 224.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #791158

    #791158

    oklch(39.3% 0.153 345)

  • #5F3E00

    #5F3E00

    oklch(39.2% 0.083 75.1)

  • #00533A

    #00533A

    oklch(39.2% 0.083 164.8)

  • #004489

    #004489

    oklch(39.3% 0.13 255.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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