#7B276A

Closest named color: Velvet (#750851). oklch(42.5% 0.141 336.8), rgb(123, 39, 106).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.34:1
White text8.97:1

Values

HEX#7B276A
RGBrgb(123, 39, 106)
HSLhsl(312, 52%, 32%)
OKLCHoklch(42.5% 0.141 336.8)

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 #7B276A 8.97:1 AAA Lc -94.3 Preferred for body text
Black text on #7B276A 2.34:1 Fails Lc 14.2 Not readable
#7B276A text on white 8.97:1 AAA Lc 89.8 Fine for body text
#7B276A text on black 2.34:1 Fails Lc -12.5 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

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE4

    oklch(88.5% 0.046 337.4)

  4. Step 300

    300

    #E4ADD4

    oklch(81% 0.082 337.3)

  5. Step 400

    400

    #D47FBF

    oklch(70.7% 0.132 336.6)

  6. Step 500

    500

    #C65BAE

    oklch(63% 0.168 336.8)

  7. Step 600

    600

    #B13D9A

    oklch(55.6% 0.183 336.5)

  8. Step 700

    700

    #982E83

    oklch(49.1% 0.17 336.8)

  9. Step 800

    800 (this color)

    #7B276A

    oklch(42.5% 0.141 336.8)

  10. Step 900

    900

    #642657

    oklch(37.7% 0.11 336.5)

  11. Step 950

    950

    #3B1733

    oklch(27% 0.07 336.6)

Export this scale for Tailwind in the Tailwind colors tool

#7B276A 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)#29416C0.151
Deuteranopia (no green cones)#444E680.131
Tritanopia (no blue cones)#812B450.067
Achromatopsia (no color)#4949490.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B276A

    #7B276A

    oklch(42.5% 0.141 336.8)

  • #005E37

    #005E37

    oklch(42.4% 0.101 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B276A

    #7B276A

    oklch(42.5% 0.141 336.8)

  • #633389

    #633389

    oklch(42.5% 0.141 307.1)

  • #892041

    #892041

    oklch(42.5% 0.141 7)

Open the analogous palette in the generator

Split complementary

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

  • #7B276A

    #7B276A

    oklch(42.5% 0.141 336.8)

  • #3E5800

    #3E5800

    oklch(42.3% 0.109 126.8)

  • #005B55

    #005B55

    oklch(42.4% 0.074 187)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B276A

    #7B276A

    oklch(42.5% 0.141 336.8)

  • #5C4E00

    #5C4E00

    oklch(42.5% 0.088 97.2)

  • #005869

    #005869

    oklch(42.4% 0.076 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B276A

    #7B276A

    oklch(42.5% 0.141 336.8)

  • #704200

    #704200

    oklch(42.4% 0.094 66.5)

  • #005E37

    #005E37

    oklch(42.4% 0.101 157.1)

  • #005287

    #005287

    oklch(42.6% 0.111 246.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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