#420F4E

Closest named color: Deep Violet (#490648). oklch(28.9% 0.115 319.2), rgb(66, 15, 78).

Aa

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

About this color

#420F4E is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.115 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.022 away. White text reads best on it, at 14.89:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.40:1
White text14.89:1

Values

HEX#420F4E
RGBrgb(66, 15, 78)
HSLhsl(289, 68%, 18%)
OKLCHoklch(28.9% 0.115 319.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 #420F4E 14.89:1 AAA Lc -104.0 Preferred for body text
Black text on #420F4E 1.40:1 Fails Lc 0.0 Not readable
#420F4E text on white 14.89:1 AAA Lc 101.1 Preferred for body text
#420F4E text on black 1.40: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 950.

  1. Step 50

    50

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #EFCAF9

    oklch(88.5% 0.075 319)

  4. Step 300

    300

    #E7A3F8

    oklch(80.9% 0.137 319.4)

  5. Step 400

    400

    #D969F5

    oklch(70.7% 0.22 319.2)

  6. Step 500

    500

    #CC2BF0

    oklch(63% 0.279 319.1)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9500B2

    oklch(49% 0.236 319)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #67007C

    oklch(37.6% 0.182 318.9)

  11. Step 950

    950 (this color)

    #420F4E

    oklch(28.9% 0.115 319.2)

Export this scale for Tailwind in the Tailwind colors tool

#420F4E 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)#0024500.112
Deuteranopia (no green cones)#14294D0.099
Tritanopia (no blue cones)#421C2D0.073
Achromatopsia (no color)#2727270.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #420F4E

    #420F4E

    oklch(28.9% 0.115 319.2)

  • #0D3500

    #0D3500

    oklch(28.9% 0.091 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #420F4E

    #420F4E

    oklch(28.9% 0.115 319.2)

  • #2C1A5F

    #2C1A5F

    oklch(28.8% 0.116 289)

  • #500434

    #500434

    oklch(28.9% 0.115 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #420F4E

    #420F4E

    oklch(28.9% 0.115 319.2)

  • #2E2D00

    #2E2D00

    oklch(28.9% 0.062 108.4)

  • #003426

    #003426

    oklch(28.9% 0.058 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #420F4E

    #420F4E

    oklch(28.9% 0.115 319.2)

  • #3B2700

    #3B2700

    oklch(29% 0.06 79.1)

  • #003234

    #003234

    oklch(28.8% 0.049 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #420F4E

    #420F4E

    oklch(28.9% 0.115 319.2)

  • #481C00

    #481C00

    oklch(28.8% 0.077 48.8)

  • #0D3500

    #0D3500

    oklch(28.9% 0.091 139.1)

  • #003041

    #003041

    oklch(28.9% 0.056 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #420F4E 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.