#42175C

Closest named color: Plum Purple (#4E0550). oklch(30.9% 0.12 309.6), rgb(66, 23, 92).

Aa

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

About this color

#42175C is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.120 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.041 away. White text reads best on it, at 13.91:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.50:1
White text13.91:1

Values

HEX#42175C
RGBrgb(66, 23, 92)
HSLhsl(277, 60%, 23%)
OKLCHoklch(30.9% 0.12 309.6)

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 #42175C 13.91:1 AAA Lc -103.1 Preferred for body text
Black text on #42175C 1.50:1 Fails Lc 0.0 Not readable
#42175C text on white 13.91:1 AAA Lc 100.0 Preferred for body text
#42175C text on black 1.50: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 950.

  1. Step 50

    50

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FF

    oklch(93.6% 0.041 309.5)

  3. Step 200

    200

    #E8CCFF

    oklch(88.5% 0.075 309.6)

  4. Step 300

    300

    #DAA9FF

    oklch(81% 0.128 309.8)

  5. Step 400

    400

    #C774FF

    oklch(70.7% 0.207 309.7)

  6. Step 500

    500

    #BA40FF

    oklch(63.2% 0.268 309.7)

  7. Step 600

    600

    #A400EA

    oklch(55.6% 0.282 309.6)

  8. Step 700

    700

    #8A00C6

    oklch(49% 0.248 309.6)

  9. Step 800

    800

    #7200A4

    oklch(42.7% 0.216 309.7)

  10. Step 900

    900

    #5F038A

    oklch(37.7% 0.189 309.5)

  11. Step 950

    950 (this color)

    #42175C

    oklch(30.9% 0.12 309.6)

Export this scale for Tailwind in the Tailwind colors tool

#42175C 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)#002A5E0.101
Deuteranopia (no green cones)#0A2D5A0.097
Tritanopia (no blue cones)#3E26370.083
Achromatopsia (no color)#2C2C2C0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #42175C

    #42175C

    oklch(30.9% 0.12 309.6)

  • #223800

    #223800

    oklch(31% 0.083 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42175C

    #42175C

    oklch(30.9% 0.12 309.6)

  • #27236A

    #27236A

    oklch(30.9% 0.12 279.3)

  • #540C43

    #540C43

    oklch(31% 0.12 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #42175C

    #42175C

    oklch(30.9% 0.12 309.6)

  • #383000

    #383000

    oklch(30.8% 0.064 99.2)

  • #003A23

    #003A23

    oklch(30.7% 0.07 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42175C

    #42175C

    oklch(30.9% 0.12 309.6)

  • #452900

    #452900

    oklch(30.9% 0.067 70.3)

  • #003836

    #003836

    oklch(30.8% 0.053 190.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42175C

    #42175C

    oklch(30.9% 0.12 309.6)

  • #561800

    #561800

    oklch(30.8% 0.097 39.6)

  • #223800

    #223800

    oklch(31% 0.083 129.8)

  • #003643

    #003643

    oklch(30.8% 0.056 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42175C 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.