#7B2258

Closest named color: Red Purple (#820747). oklch(41.1% 0.135 347.4), rgb(123, 34, 88).

Aa

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

About this color

#7B2258 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.135 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.036 away. White text reads best on it, at 9.49:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.21:1
White text9.49:1

Values

HEX#7B2258
RGBrgb(123, 34, 88)
HSLhsl(324, 57%, 31%)
OKLCHoklch(41.1% 0.135 347.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 #7B2258 9.49:1 AAA Lc -95.4 Preferred for body text
Black text on #7B2258 2.21:1 Fails Lc 12.9 Not readable
#7B2258 text on white 9.49:1 AAA Lc 91.0 Preferred for body text
#7B2258 text on black 2.21:1 Fails Lc -11.3 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDE

    oklch(88.5% 0.043 348)

  4. Step 300

    300

    #E8ACCA

    oklch(80.9% 0.08 347.6)

  5. Step 400

    400

    #D97EAF

    oklch(70.6% 0.127 347.3)

  6. Step 500

    500

    #CD5A9C

    oklch(63.1% 0.163 347.2)

  7. Step 600

    600

    #B83C86

    oklch(55.6% 0.176 347.6)

  8. Step 700

    700

    #9E2D72

    oklch(49.1% 0.164 347.3)

  9. Step 800

    800 (this color)

    #7B2258

    oklch(41.1% 0.135 347.4)

  10. Step 900

    900

    #68264C

    oklch(37.9% 0.105 347.7)

  11. Step 950

    950

    #3D172C

    oklch(27% 0.066 348.1)

Export this scale for Tailwind in the Tailwind colors tool

#7B2258 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)#2E3C5A0.149
Deuteranopia (no green cones)#484B560.132
Tritanopia (no blue cones)#841F3A0.053
Achromatopsia (no color)#4646460.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B2258

    #7B2258

    oklch(41.1% 0.135 347.4)

  • #005941

    #005941

    oklch(41.2% 0.084 167)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B2258

    #7B2258

    oklch(41.1% 0.135 347.4)

  • #672C7A

    #672C7A

    oklch(41% 0.136 317.1)

  • #841F2E

    #841F2E

    oklch(41% 0.135 17.5)

Open the analogous palette in the generator

Split complementary

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

  • #7B2258

    #7B2258

    oklch(41.1% 0.135 347.4)

  • #235900

    #235900

    oklch(41.1% 0.125 137.4)

  • #005658

    #005658

    oklch(41.1% 0.07 197.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B2258

    #7B2258

    oklch(41.1% 0.135 347.4)

  • #504D00

    #504D00

    oklch(41% 0.088 107.1)

  • #00526C

    #00526C

    oklch(41% 0.08 227.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B2258

    #7B2258

    oklch(41.1% 0.135 347.4)

  • #644300

    #644300

    oklch(41% 0.086 77)

  • #005941

    #005941

    oklch(41.2% 0.084 167)

  • #0E4892

    #0E4892

    oklch(41.2% 0.135 257.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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