#502F45

Closest named color: Onyx (#343A40). oklch(35.4% 0.058 340.3), rgb(80, 47, 69).

Aa

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

About this color

#502F45 is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.058 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.061 away. White text reads best on it, at 11.45:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.83:1
White text11.45:1

Values

HEX#502F45
RGBrgb(80, 47, 69)
HSLhsl(320, 26%, 25%)
OKLCHoklch(35.4% 0.058 340.3)

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 #502F45 11.45:1 AAA Lc -100.0 Preferred for body text
Black text on #502F45 1.83:1 Fails Lc 7.6 Not readable
#502F45 text on white 11.45:1 AAA Lc 96.3 Preferred for body text
#502F45 text on black 1.83:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7EC

    oklch(93.6% 0.012 342.6)

  3. Step 200

    200

    #E5D3DE

    oklch(88.5% 0.025 340.3)

  4. Step 300

    300

    #D5B6C9

    oklch(80.9% 0.044 340.8)

  5. Step 400

    400

    #BF90AE

    oklch(70.7% 0.069 340.5)

  6. Step 500

    500

    #AE749A

    oklch(63.1% 0.089 340.5)

  7. Step 600

    600

    #995C85

    oklch(55.7% 0.097 340.2)

  8. Step 700

    700

    #834B70

    oklch(49.1% 0.091 341)

  9. Step 800

    800

    #6A3E5C

    oklch(42.7% 0.075 339.8)

  10. Step 900

    900 (this color)

    #502F45

    oklch(35.4% 0.058 340.3)

  11. Step 950

    950

    #331F2C

    oklch(27% 0.038 340.7)

Export this scale for Tailwind in the Tailwind colors tool

#502F45 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)#3036460.060
Deuteranopia (no green cones)#393B440.054
Tritanopia (no blue cones)#542F370.026
Achromatopsia (no color)#3A3A3A0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #502F45

    #502F45

    oklch(35.4% 0.058 340.3)

  • #1C4531

    #1C4531

    oklch(35.4% 0.058 160)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502F45

    #502F45

    oklch(35.4% 0.058 340.3)

  • #453352

    #453352

    oklch(35.5% 0.057 310.3)

  • #562E34

    #562E34

    oklch(35.4% 0.059 10.9)

Open the analogous palette in the generator

Split complementary

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

  • #502F45

    #502F45

    oklch(35.4% 0.058 340.3)

  • #314220

    #314220

    oklch(35.5% 0.059 130.6)

  • #064543

    #064543

    oklch(35.4% 0.058 191.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502F45

    #502F45

    oklch(35.4% 0.058 340.3)

  • #433C14

    #433C14

    oklch(35.4% 0.058 99.4)

  • #0D4251

    #0D4251

    oklch(35.3% 0.059 221.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502F45

    #502F45

    oklch(35.4% 0.058 340.3)

  • #4F3616

    #4F3616

    oklch(35.5% 0.058 70.6)

  • #1C4531

    #1C4531

    oklch(35.4% 0.058 160)

  • #233E59

    #233E59

    oklch(35.6% 0.058 249.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #502F45 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.