#662A93

Closest named color: Rebecca Purple (#663399). oklch(42.4% 0.166 306.7), rgb(102, 42, 147).

Aa

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

About this color

#662A93 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.166 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.020 away. White text reads best on it, at 9.06:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.166)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.31:1
White text9.06:1

Values

HEX#662A93
RGBrgb(102, 42, 147)
HSLhsl(274, 56%, 37%)
OKLCHoklch(42.4% 0.166 306.7)

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 #662A93 9.06:1 AAA Lc -94.6 Preferred for body text
Black text on #662A93 2.31:1 Fails Lc 13.9 Not readable
#662A93 text on white 9.06:1 AAA Lc 90.1 Preferred for body text
#662A93 text on black 2.31:1 Fails Lc -12.2 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 800.

  1. Step 50

    50

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F6

    oklch(88.4% 0.055 306.7)

  4. Step 300

    300

    #D1B0F2

    oklch(80.8% 0.098 307.1)

  5. Step 400

    400

    #BA84EB

    oklch(70.7% 0.155 307)

  6. Step 500

    500

    #A960E5

    oklch(63.1% 0.199 306.9)

  7. Step 600

    600

    #9441D3

    oklch(55.5% 0.216 306.6)

  8. Step 700

    700

    #7F32B7

    oklch(49.2% 0.2 306.8)

  9. Step 800

    800 (this color)

    #662A93

    oklch(42.4% 0.166 306.7)

  10. Step 900

    900

    #542976

    oklch(37.8% 0.129 307)

  11. Step 950

    950

    #311945

    oklch(27% 0.082 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#662A93 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)#0047960.133
Deuteranopia (no green cones)#0749910.133
Tritanopia (no blue cones)#5E425B0.118
Achromatopsia (no color)#4949490.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #662A93

    #662A93

    oklch(42.4% 0.166 306.7)

  • #3E5800

    #3E5800

    oklch(42.3% 0.109 126.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662A93

    #662A93

    oklch(42.4% 0.166 306.7)

  • #3C3CA6

    #3C3CA6

    oklch(42.5% 0.166 276.7)

  • #81196F

    #81196F

    oklch(42.4% 0.165 336.4)

Open the analogous palette in the generator

Split complementary

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

  • #662A93

    #662A93

    oklch(42.4% 0.166 306.7)

  • #5C4E00

    #5C4E00

    oklch(42.5% 0.088 97.2)

  • #005E36

    #005E36

    oklch(42.4% 0.102 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662A93

    #662A93

    oklch(42.4% 0.166 306.7)

  • #704200

    #704200

    oklch(42.4% 0.094 66.5)

  • #005B55

    #005B55

    oklch(42.4% 0.074 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662A93

    #662A93

    oklch(42.4% 0.166 306.7)

  • #8B2500

    #8B2500

    oklch(42.4% 0.143 36.7)

  • #3E5800

    #3E5800

    oklch(42.3% 0.109 126.8)

  • #005869

    #005869

    oklch(42.4% 0.076 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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