#42173E

Closest named color: Eggplant Purple (#430541). oklch(28.8% 0.087 331.3), rgb(66, 23, 62).

Aa

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

About this color

#42173E is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.087 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.033 away. White text reads best on it, at 14.74:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.42:1
White text14.74:1

Values

HEX#42173E
RGBrgb(66, 23, 62)
HSLhsl(306, 48%, 17%)
OKLCHoklch(28.8% 0.087 331.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 #42173E 14.74:1 AAA Lc -104.1 Preferred for body text
Black text on #42173E 1.42:1 Fails Lc 0.0 Not readable
#42173E text on white 14.74:1 AAA Lc 101.2 Preferred for body text
#42173E text on black 1.42: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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #F0CCEB

    oklch(88.5% 0.057 330.7)

  4. Step 300

    300

    #E8A8DF

    oklch(80.9% 0.103 331.4)

  5. Step 400

    400

    #DA76CF

    oklch(70.7% 0.165 331.3)

  6. Step 500

    500

    #CD4CC2

    oklch(63.1% 0.21 331.3)

  7. Step 600

    600

    #B824AE

    oklch(55.6% 0.228 331.3)

  8. Step 700

    700

    #9E1196

    oklch(49.1% 0.213 331.1)

  9. Step 800

    800

    #811579

    oklch(42.7% 0.176 331.6)

  10. Step 900

    900

    #681C62

    oklch(37.8% 0.137 331.3)

  11. Step 950

    950 (this color)

    #42173E

    oklch(28.8% 0.087 331.3)

Export this scale for Tailwind in the Tailwind colors tool

#42173E 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)#15243F0.089
Deuteranopia (no green cones)#232A3D0.077
Tritanopia (no blue cones)#451B280.046
Achromatopsia (no color)#2828280.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #42173E

    #42173E

    oklch(28.8% 0.087 331.3)

  • #003516

    #003516

    oklch(28.8% 0.076 151.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42173E

    #42173E

    oklch(28.8% 0.087 331.3)

  • #331E4E

    #331E4E

    oklch(28.9% 0.086 301.4)

  • #4B1328

    #4B1328

    oklch(28.8% 0.087 1.2)

Open the analogous palette in the generator

Split complementary

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

  • #42173E

    #42173E

    oklch(28.8% 0.087 331.3)

  • #263000

    #263000

    oklch(28.9% 0.07 121.3)

  • #00332C

    #00332C

    oklch(28.8% 0.052 180.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42173E

    #42173E

    oklch(28.8% 0.087 331.3)

  • #362900

    #362900

    oklch(28.8% 0.059 90.2)

  • #003139

    #003139

    oklch(28.7% 0.05 211.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42173E

    #42173E

    oklch(28.8% 0.087 331.3)

  • #422200

    #422200

    oklch(28.9% 0.067 61.8)

  • #003516

    #003516

    oklch(28.8% 0.076 151.6)

  • #002E49

    #002E49

    oklch(28.8% 0.068 241.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42173E 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.