#42216E

Closest named color: Royal Purple (#4B006E). oklch(33.8% 0.127 299.1), rgb(66, 33, 110).

Aa

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

About this color

#42216E is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.127 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.047 away. White text reads best on it, at 12.54:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.67:1
White text12.54:1

Values

HEX#42216E
RGBrgb(66, 33, 110)
HSLhsl(266, 54%, 28%)
OKLCHoklch(33.8% 0.127 299.1)

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 #42216E 12.54:1 AAA Lc -101.4 Preferred for body text
Black text on #42216E 1.67:1 Fails Lc 0.0 Not readable
#42216E text on white 12.54:1 AAA Lc 98.0 Preferred for body text
#42216E text on black 1.67:1 Fails Lc 0.0 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F8

    oklch(88.5% 0.053 298.5)

  4. Step 300

    300

    #C9B3F6

    oklch(80.9% 0.096 299.3)

  5. Step 400

    400

    #AE89F1

    oklch(70.7% 0.151 298.9)

  6. Step 500

    500

    #9C67EC

    oklch(63.2% 0.194 299.2)

  7. Step 600

    600

    #8849DB

    oklch(55.7% 0.212 299.2)

  8. Step 700

    700

    #7339BE

    oklch(49.2% 0.197 298.9)

  9. Step 800

    800

    #5E3099

    oklch(42.7% 0.163 299.5)

  10. Step 900

    900 (this color)

    #42216E

    oklch(33.8% 0.127 299.1)

  11. Step 950

    950

    #2D1B47

    oklch(27% 0.08 300)

Export this scale for Tailwind in the Tailwind colors tool

#42216E 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)#0033700.089
Deuteranopia (no green cones)#00336C0.090
Tritanopia (no blue cones)#3833440.097
Achromatopsia (no color)#3333330.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #42216E

    #42216E

    oklch(33.8% 0.127 299.1)

  • #333D00

    #333D00

    oklch(33.9% 0.08 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42216E

    #42216E

    oklch(33.8% 0.127 299.1)

  • #1E2E78

    #1E2E78

    oklch(33.8% 0.128 269.1)

  • #581556

    #581556

    oklch(33.7% 0.127 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #42216E

    #42216E

    oklch(33.8% 0.127 299.1)

  • #463500

    #463500

    oklch(33.8% 0.069 88.8)

  • #004419

    #004419

    oklch(33.8% 0.095 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42216E

    #42216E

    oklch(33.8% 0.127 299.1)

  • #552B00

    #552B00

    oklch(33.8% 0.08 58.7)

  • #004138

    #004138

    oklch(33.6% 0.061 179.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42216E

    #42216E

    oklch(33.8% 0.127 299.1)

  • #6A0C08

    #6A0C08

    oklch(33.7% 0.127 28.9)

  • #333D00

    #333D00

    oklch(33.9% 0.08 119.5)

  • #003F47

    #003F47

    oklch(33.7% 0.058 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42216E 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.