#662F51

Closest named color: Purple Brown (#673A3F). oklch(39.1% 0.091 344.2), rgb(102, 47, 81).

Aa

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

About this color

#662F51 is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.091 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.049 away. White text reads best on it, at 10.04:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.09:1
White text10.04:1

Values

HEX#662F51
RGBrgb(102, 47, 81)
HSLhsl(323, 37%, 29%)
OKLCHoklch(39.1% 0.091 344.2)

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 #662F51 10.04:1 AAA Lc -97.1 Preferred for body text
Black text on #662F51 2.09:1 Fails Lc 11.0 Not readable
#662F51 text on white 10.04:1 AAA Lc 93.0 Preferred for body text
#662F51 text on black 2.09:1 Fails Lc -9.5 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F4E5ED

    oklch(93.6% 0.019 344)

  3. Step 200

    200

    #ECD0DF

    oklch(88.5% 0.037 344.3)

  4. Step 300

    300

    #E1B0CB

    oklch(80.9% 0.067 344.5)

  5. Step 400

    400

    #D184B1

    oklch(70.7% 0.11 344.3)

  6. Step 500

    500

    #C2649E

    oklch(63.1% 0.138 343.9)

  7. Step 600

    600

    #AE4889

    oklch(55.6% 0.153 344.1)

  8. Step 700

    700

    #953974

    oklch(49.1% 0.141 344.2)

  9. Step 800

    800

    #79305E

    oklch(42.7% 0.116 344.4)

  10. Step 900

    900 (this color)

    #662F51

    oklch(39.1% 0.091 344.2)

  11. Step 950

    950

    #3A1A2D

    oklch(27.1% 0.058 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#662F51 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)#333C520.097
Deuteranopia (no green cones)#4245500.086
Tritanopia (no blue cones)#6C2F3C0.038
Achromatopsia (no color)#4242420.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #662F51

    #662F51

    oklch(39.1% 0.091 344.2)

  • #005339

    #005339

    oklch(39.1% 0.084 163.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662F51

    #662F51

    oklch(39.1% 0.091 344.2)

  • #573567

    #573567

    oklch(39.2% 0.091 314.2)

  • #6D2E36

    #6D2E36

    oklch(39.1% 0.09 14.4)

Open the analogous palette in the generator

Split complementary

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

  • #662F51

    #662F51

    oklch(39.1% 0.091 344.2)

  • #304F18

    #304F18

    oklch(39% 0.09 133.9)

  • #005050

    #005050

    oklch(39% 0.067 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662F51

    #662F51

    oklch(39.1% 0.091 344.2)

  • #4D4700

    #4D4700

    oklch(39.1% 0.083 104.1)

  • #004D62

    #004D62

    oklch(39% 0.073 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662F51

    #662F51

    oklch(39.1% 0.091 344.2)

  • #5F3D00

    #5F3D00

    oklch(39% 0.083 73.8)

  • #005339

    #005339

    oklch(39.1% 0.084 163.9)

  • #1F4675

    #1F4675

    oklch(39.1% 0.091 254.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #662F51 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.