#7F0247

Closest named color: Red Purple (#820747). oklch(39% 0.158 356.4), rgb(127, 2, 71).

Aa

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

About this color

#7F0247 is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.158 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.009 away. White text reads best on it, at 10.48:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.158)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.00:1
White text10.48:1

Values

HEX#7F0247
RGBrgb(127, 2, 71)
HSLhsl(327, 97%, 25%)
OKLCHoklch(39% 0.158 356.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 #7F0247 10.48:1 AAA Lc -96.5 Preferred for body text
Black text on #7F0247 2.00:1 Fails Lc 11.7 Not readable
#7F0247 text on white 10.48:1 AAA Lc 92.3 Preferred for body text
#7F0247 text on black 2.00:1 Fails Lc -10.2 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

    #FFF1F6

    oklch(97.1% 0.016 353.6)

  2. Step 100

    100

    #FEE1EA

    oklch(93.6% 0.034 357)

  3. Step 200

    200

    #FEC8DA

    oklch(88.5% 0.065 356.6)

  4. Step 300

    300

    #FEA0C2

    oklch(81% 0.118 356.8)

  5. Step 400

    400

    #F865A4

    oklch(70.8% 0.189 356.4)

  6. Step 500

    500

    #EF238D

    oklch(63.1% 0.242 356.4)

  7. Step 600

    600

    #CF0077

    oklch(55.7% 0.228 356.3)

  8. Step 700

    700

    #AF0064

    oklch(49.1% 0.201 356.2)

  9. Step 800

    800

    #910051

    oklch(42.8% 0.175 356.7)

  10. Step 900

    900 (this color)

    #7F0247

    oklch(39% 0.158 356.4)

  11. Step 950

    950

    #490728

    oklch(27.1% 0.1 356.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F0247 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)#2731480.180
Deuteranopia (no green cones)#4847440.159
Tritanopia (no blue cones)#8A00270.058
Achromatopsia (no color)#3F3F3F0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F0247

    #7F0247

    oklch(39% 0.158 356.4)

  • #005144

    #005144

    oklch(38.9% 0.072 177.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F0247

    #7F0247

    oklch(39% 0.158 356.4)

  • #6D1770

    #6D1770

    oklch(39% 0.158 326.6)

  • #85010D

    #85010D

    oklch(38.9% 0.157 26.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F0247

    #7F0247

    oklch(39% 0.158 356.4)

  • #005418

    #005418

    oklch(38.8% 0.117 146.4)

  • #004F57

    #004F57

    oklch(39.1% 0.067 206.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F0247

    #7F0247

    oklch(39% 0.158 356.4)

  • #434A00

    #434A00

    oklch(38.9% 0.089 115.8)

  • #004B6C

    #004B6C

    oklch(39.1% 0.084 236.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F0247

    #7F0247

    oklch(39% 0.158 356.4)

  • #584100

    #584100

    oklch(39% 0.08 85.7)

  • #005144

    #005144

    oklch(38.9% 0.072 177.1)

  • #1E3998

    #1E3998

    oklch(39% 0.159 266.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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