#662156

Closest named color: Grape Purple (#5D1451). oklch(37.3% 0.119 338), rgb(102, 33, 86).

Aa

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

About this color

#662156 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.119 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.033 away. White text reads best on it, at 10.95:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.91:1
White text10.95:1

Values

HEX#662156
RGBrgb(102, 33, 86)
HSLhsl(314, 51%, 26%)
OKLCHoklch(37.3% 0.119 338)

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 #662156 10.95:1 AAA Lc -98.6 Preferred for body text
Black text on #662156 1.91:1 Fails Lc 9.3 Not readable
#662156 text on white 10.95:1 AAA Lc 94.7 Preferred for body text
#662156 text on black 1.91:1 Fails Lc -7.9 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE5

    oklch(88.5% 0.05 337.5)

  4. Step 300

    300

    #E7ABD5

    oklch(81% 0.089 337.8)

  5. Step 400

    400

    #D97BBF

    oklch(70.7% 0.143 338.3)

  6. Step 500

    500

    #CC55AF

    oklch(63.1% 0.182 338.1)

  7. Step 600

    600

    #B7349A

    oklch(55.6% 0.198 338.2)

  8. Step 700

    700

    #9D2584

    oklch(49.1% 0.184 338)

  9. Step 800

    800

    #80216B

    oklch(42.7% 0.153 338.3)

  10. Step 900

    900 (this color)

    #662156

    oklch(37.3% 0.119 338)

  11. Step 950

    950

    #3D1533

    oklch(27% 0.076 338.3)

Export this scale for Tailwind in the Tailwind colors tool

#662156 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)#2336580.128
Deuteranopia (no green cones)#3940540.111
Tritanopia (no blue cones)#6C24380.057
Achromatopsia (no color)#3C3C3C0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #662156

    #662156

    oklch(37.3% 0.119 338)

  • #004E2E

    #004E2E

    oklch(37.3% 0.087 157.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662156

    #662156

    oklch(37.3% 0.119 338)

  • #522A70

    #522A70

    oklch(37.3% 0.12 308)

  • #711C34

    #711C34

    oklch(37.3% 0.119 8.3)

Open the analogous palette in the generator

Split complementary

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

  • #662156

    #662156

    oklch(37.3% 0.119 338)

  • #314A00

    #314A00

    oklch(37.4% 0.098 128.3)

  • #004B47

    #004B47

    oklch(37.2% 0.065 188.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662156

    #662156

    oklch(37.3% 0.119 338)

  • #4C4000

    #4C4000

    oklch(37.3% 0.077 97.1)

  • #004958

    #004958

    oklch(37.4% 0.067 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662156

    #662156

    oklch(37.3% 0.119 338)

  • #5C3700

    #5C3700

    oklch(37.3% 0.082 68.7)

  • #004E2E

    #004E2E

    oklch(37.3% 0.087 157.9)

  • #004373

    #004373

    oklch(37.4% 0.101 248.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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