#940047

Closest named color: Purple Red (#990147). oklch(43% 0.173 2.7), rgb(148, 0, 71).

Aa

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

About this color

#940047 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.173 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Red (#990147), ΔE 0.011 away. White text reads best on it, at 8.93:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.173)
Temperaturewarm
Nearest namePurple Red (#990147)
Black text2.35:1
White text8.93:1

Values

HEX#940047
RGBrgb(148, 0, 71)
HSLhsl(331, 100%, 29%)
OKLCHoklch(43% 0.173 2.7)

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 #940047 8.93:1 AAA Lc -92.8 Preferred for body text
Black text on #940047 2.35:1 Fails Lc 15.8 Dividers and decoration only
#940047 text on white 8.93:1 AAA Lc 88.2 Fine for body text
#940047 text on black 2.35:1 Fails Lc -14.0 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E8

    oklch(93.6% 0.03 2)

  3. Step 200

    200

    #FBCAD6

    oklch(88.5% 0.057 2)

  4. Step 300

    300

    #F8A5BA

    oklch(80.9% 0.101 3.1)

  5. Step 400

    400

    #F07097

    oklch(70.7% 0.162 2.9)

  6. Step 500

    500

    #E7407E

    oklch(63.2% 0.207 2.8)

  7. Step 600

    600

    #D10067

    oklch(55.5% 0.224 2.7)

  8. Step 700

    700

    #B10056

    oklch(49% 0.198 2.8)

  9. Step 800

    800 (this color)

    #940047

    oklch(43% 0.173 2.7)

  10. Step 900

    900

    #76133B

    oklch(37.7% 0.135 2.7)

  11. Step 950

    950

    #460E23

    oklch(27% 0.087 2.2)

Export this scale for Tailwind in the Tailwind colors tool

#940047 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)#3238480.198
Deuteranopia (no green cones)#5753440.176
Tritanopia (no blue cones)#A200270.058
Achromatopsia (no color)#4949490.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #940047

    #940047

    oklch(43% 0.173 2.7)

  • #005D53

    #005D53

    oklch(42.9% 0.077 182.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940047

    #940047

    oklch(43% 0.173 2.7)

  • #821878

    #821878

    oklch(43% 0.174 332.5)

  • #931A00

    #931A00

    oklch(42.9% 0.159 32.9)

Open the analogous palette in the generator

Split complementary

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

  • #940047

    #940047

    oklch(43% 0.173 2.7)

  • #006030

    #006030

    oklch(42.9% 0.111 152.8)

  • #005A68

    #005A68

    oklch(42.9% 0.075 212.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940047

    #940047

    oklch(43% 0.173 2.7)

  • #465800

    #465800

    oklch(43% 0.105 122.3)

  • #005583

    #005583

    oklch(43.1% 0.103 242.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940047

    #940047

    oklch(43% 0.173 2.7)

  • #614E00

    #614E00

    oklch(43.1% 0.088 92.7)

  • #005D53

    #005D53

    oklch(42.9% 0.077 182.4)

  • #353EAC

    #353EAC

    oklch(42.9% 0.173 273)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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