#940740

Closest named color: Purple Red (#990147). oklch(43% 0.168 6.9), rgb(148, 7, 64).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.168)
Temperaturewarm
Nearest namePurple Red (#990147)
Black text2.36:1
White text8.88:1

Values

HEX#940740
RGBrgb(148, 7, 64)
HSLhsl(336, 91%, 30%)
OKLCHoklch(43% 0.168 6.9)

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 #940740 8.88:1 AAA Lc -92.9 Preferred for body text
Black text on #940740 2.36:1 Fails Lc 15.7 Dividers and decoration only
#940740 text on white 8.88:1 AAA Lc 88.3 Fine for body text
#940740 text on black 2.36:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E6

    oklch(93.5% 0.029 7.1)

  3. Step 200

    200

    #FACBD3

    oklch(88.5% 0.054 6.8)

  4. Step 300

    300

    #F8A6B6

    oklch(80.9% 0.099 6.7)

  5. Step 400

    400

    #F07190

    oklch(70.7% 0.159 6.7)

  6. Step 500

    500

    #E64375

    oklch(63.1% 0.201 6.7)

  7. Step 600

    600

    #D10C5D

    oklch(55.5% 0.218 6.9)

  8. Step 700

    700

    #B3004D

    oklch(49.2% 0.197 7.2)

  9. Step 800

    800 (this color)

    #940740

    oklch(43% 0.168 6.9)

  10. Step 900

    900

    #761536

    oklch(37.7% 0.132 6.5)

  11. Step 950

    950

    #460F1F

    oklch(27% 0.084 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#940740 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)#3639410.191
Deuteranopia (no green cones)#59533D0.171
Tritanopia (no blue cones)#A200250.048
Achromatopsia (no color)#4A4A4A0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #940740

    #940740

    oklch(43% 0.168 6.9)

  • #005D57

    #005D57

    oklch(43.1% 0.075 187.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940740

    #940740

    oklch(43% 0.168 6.9)

  • #841971

    #841971

    oklch(43% 0.169 336.7)

  • #8E2600

    #8E2600

    oklch(43.1% 0.145 36.7)

Open the analogous palette in the generator

Split complementary

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

  • #940740

    #940740

    oklch(43% 0.168 6.9)

  • #006038

    #006038

    oklch(43% 0.103 156.9)

  • #005A6B

    #005A6B

    oklch(43.1% 0.077 216.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940740

    #940740

    oklch(43% 0.168 6.9)

  • #3F5A00

    #3F5A00

    oklch(43% 0.111 127.1)

  • #00538A

    #00538A

    oklch(43% 0.113 247.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940740

    #940740

    oklch(43% 0.168 6.9)

  • #5E4F00

    #5E4F00

    oklch(43% 0.089 96.5)

  • #005D57

    #005D57

    oklch(43.1% 0.075 187.2)

  • #3E3DA9

    #3E3DA9

    oklch(43% 0.168 277.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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