#662159

Closest named color: Grape Purple (#5D1451). oklch(37.5% 0.121 336), rgb(102, 33, 89).

Aa

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

About this color

#662159 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.121 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.034 away. White text reads best on it, at 10.89:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.92:1
White text10.89:1

Values

HEX#662159
RGBrgb(102, 33, 89)
HSLhsl(311, 51%, 26%)
OKLCHoklch(37.5% 0.121 336)

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 #662159 10.89:1 AAA Lc -98.5 Preferred for body text
Black text on #662159 1.92:1 Fails Lc 9.4 Not readable
#662159 text on white 10.89:1 AAA Lc 94.5 Preferred for body text
#662159 text on black 1.92:1 Fails Lc -8.1 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E4F1

    oklch(93.7% 0.026 335.5)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E7AAD7

    oklch(80.9% 0.092 336.2)

  5. Step 400

    400

    #D87BC3

    oklch(70.7% 0.145 336)

  6. Step 500

    500

    #CB54B3

    oklch(63.1% 0.186 336.2)

  7. Step 600

    600

    #B6339F

    oklch(55.6% 0.202 336)

  8. Step 700

    700

    #9C2488

    oklch(49.1% 0.187 335.9)

  9. Step 800

    800

    #7F206F

    oklch(42.7% 0.157 335.7)

  10. Step 900

    900 (this color)

    #662159

    oklch(37.5% 0.121 336)

  11. Step 950

    950

    #3C1534

    oklch(26.9% 0.076 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#662159 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)#22365B0.129
Deuteranopia (no green cones)#3841570.113
Tritanopia (no blue cones)#6B25390.060
Achromatopsia (no color)#3D3D3D0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #662159

    #662159

    oklch(37.5% 0.121 336)

  • #004F2C

    #004F2C

    oklch(37.6% 0.091 156.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662159

    #662159

    oklch(37.5% 0.121 336)

  • #512B73

    #512B73

    oklch(37.5% 0.121 305.7)

  • #721B37

    #721B37

    oklch(37.5% 0.122 6)

Open the analogous palette in the generator

Split complementary

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

  • #662159

    #662159

    oklch(37.5% 0.121 336)

  • #344900

    #344900

    oklch(37.4% 0.095 126.1)

  • #004C46

    #004C46

    oklch(37.5% 0.066 185.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662159

    #662159

    oklch(37.5% 0.121 336)

  • #4D4000

    #4D4000

    oklch(37.4% 0.077 96)

  • #004957

    #004957

    oklch(37.3% 0.066 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662159

    #662159

    oklch(37.5% 0.121 336)

  • #5E3600

    #5E3600

    oklch(37.4% 0.083 65.7)

  • #004F2C

    #004F2C

    oklch(37.6% 0.091 156.1)

  • #004470

    #004470

    oklch(37.5% 0.096 245.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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