#66027F

Closest named color: Purple (#800080). oklch(37.8% 0.182 317.2), rgb(102, 2, 127).

Aa

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

About this color

#66027F is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.182 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.058 away. White text reads best on it, at 11.16:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.182)
Temperaturein between
Nearest namePurple (#800080)
Black text1.88:1
White text11.16:1

Values

HEX#66027F
RGBrgb(102, 2, 127)
HSLhsl(288, 97%, 25%)
OKLCHoklch(37.8% 0.182 317.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 #66027F 11.16:1 AAA Lc -97.9 Preferred for body text
Black text on #66027F 1.88:1 Fails Lc 10.1 Not readable
#66027F text on white 11.16:1 AAA Lc 93.9 Preferred for body text
#66027F text on black 1.88:1 Fails Lc -8.7 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EECAFB

    oklch(88.5% 0.076 317)

  4. Step 300

    300

    #E4A4FB

    oklch(80.9% 0.137 316.9)

  5. Step 400

    400

    #D66BF8

    oklch(70.8% 0.218 317.3)

  6. Step 500

    500

    #C92EF5

    oklch(63.1% 0.28 317)

  7. Step 600

    600

    #AE00D7

    oklch(55.5% 0.27 317.1)

  8. Step 700

    700

    #9300B6

    oklch(49% 0.239 317.1)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900 (this color)

    #66027F

    oklch(37.8% 0.182 317.2)

  11. Step 950

    950

    #3C094A

    oklch(27% 0.116 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#66027F 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)#0036820.162
Deuteranopia (no green cones)#033E7D0.164
Tritanopia (no blue cones)#6528480.114
Achromatopsia (no color)#3B3B3B0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #66027F

    #66027F

    oklch(37.8% 0.182 317.2)

  • #1F4F00

    #1F4F00

    oklch(37.9% 0.115 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #66027F

    #66027F

    oklch(37.8% 0.182 317.2)

  • #431F9B

    #431F9B

    oklch(37.8% 0.183 287.2)

  • #770051

    #770051

    oklch(37.7% 0.159 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #66027F

    #66027F

    oklch(37.8% 0.182 317.2)

  • #474400

    #474400

    oklch(37.7% 0.081 106.8)

  • #004F39

    #004F39

    oklch(37.9% 0.078 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #66027F

    #66027F

    oklch(37.8% 0.182 317.2)

  • #593B00

    #593B00

    oklch(37.8% 0.079 76.7)

  • #004C4E

    #004C4E

    oklch(37.8% 0.064 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #66027F

    #66027F

    oklch(37.8% 0.182 317.2)

  • #6C2C00

    #6C2C00

    oklch(37.8% 0.104 47.5)

  • #1F4F00

    #1F4F00

    oklch(37.9% 0.115 137.2)

  • #004960

    #004960

    oklch(37.8% 0.073 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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