#66317F

Closest named color: Rebecca Purple (#663399). oklch(41.9% 0.133 313.5), rgb(102, 49, 127).

Aa

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

About this color

#66317F is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.133 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.043 away. White text reads best on it, at 9.08:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.31:1
White text9.08:1

Values

HEX#66317F
RGBrgb(102, 49, 127)
HSLhsl(281, 44%, 35%)
OKLCHoklch(41.9% 0.133 313.5)

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 #66317F 9.08:1 AAA Lc -94.9 Preferred for body text
Black text on #66317F 2.31:1 Fails Lc 13.5 Not readable
#66317F text on white 9.08:1 AAA Lc 90.4 Preferred for body text
#66317F text on black 2.31:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E3D1EE

    oklch(88.4% 0.044 312.8)

  4. Step 300

    300

    #D3B2E5

    oklch(80.9% 0.079 313.6)

  5. Step 400

    400

    #BC88D7

    oklch(70.6% 0.125 313.6)

  6. Step 500

    500

    #AB68CC

    oklch(63% 0.159 313.6)

  7. Step 600

    600

    #964DB9

    oklch(55.5% 0.173 313.4)

  8. Step 700

    700

    #803DA0

    oklch(49.1% 0.162 313.2)

  9. Step 800

    800 (this color)

    #66317F

    oklch(41.9% 0.133 313.5)

  10. Step 900

    900

    #552E68

    oklch(37.8% 0.104 313.5)

  11. Step 950

    950

    #321B3D

    oklch(27% 0.067 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#66317F 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)#1846810.121
Deuteranopia (no green cones)#2E4A7D0.106
Tritanopia (no blue cones)#643F530.090
Achromatopsia (no color)#4848480.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #66317F

    #66317F

    oklch(41.9% 0.133 313.5)

  • #305A00

    #305A00

    oklch(42% 0.12 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #66317F

    #66317F

    oklch(41.9% 0.133 313.5)

  • #463E92

    #463E92

    oklch(42% 0.134 283.3)

  • #7B275F

    #7B275F

    oklch(41.9% 0.133 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #66317F

    #66317F

    oklch(41.9% 0.133 313.5)

  • #564E00

    #564E00

    oklch(41.9% 0.088 102.7)

  • #005C3F

    #005C3F

    oklch(42% 0.09 163.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #66317F

    #66317F

    oklch(41.9% 0.133 313.5)

  • #6A4400

    #6A4400

    oklch(42% 0.089 73.2)

  • #005958

    #005958

    oklch(42% 0.072 193.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #66317F

    #66317F

    oklch(41.9% 0.133 313.5)

  • #813000

    #813000

    oklch(42% 0.123 43.7)

  • #305A00

    #305A00

    oklch(42% 0.12 133.6)

  • #00566C

    #00566C

    oklch(42% 0.078 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #66317F 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.