#42104C

Closest named color: Deep Violet (#490648). oklch(28.8% 0.112 320.4), rgb(66, 16, 76).

Aa

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

About this color

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

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

Values

HEX#42104C
RGBrgb(66, 16, 76)
HSLhsl(290, 65%, 18%)
OKLCHoklch(28.8% 0.112 320.4)

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 #42104C 14.89:1 AAA Lc -104.1 Preferred for body text
Black text on #42104C 1.41:1 Fails Lc 0.0 Not readable
#42104C text on white 14.89:1 AAA Lc 101.1 Preferred for body text
#42104C text on black 1.41: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

    #F6E2FA

    oklch(93.6% 0.038 320.6)

  3. Step 200

    200

    #F0CAF8

    oklch(88.6% 0.074 320.4)

  4. Step 300

    300

    #E7A4F5

    oklch(81% 0.132 320.5)

  5. Step 400

    400

    #D96BF0

    oklch(70.7% 0.212 320.4)

  6. Step 500

    500

    #CD30EB

    oklch(63.1% 0.272 320.4)

  7. Step 600

    600

    #B200CF

    oklch(55.5% 0.266 320.3)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7C0091

    oklch(42.6% 0.204 320.3)

  10. Step 900

    900

    #680479

    oklch(37.7% 0.177 320.5)

  11. Step 950

    950 (this color)

    #42104C

    oklch(28.8% 0.112 320.4)

Export this scale for Tailwind in the Tailwind colors tool

#42104C 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)#00244E0.112
Deuteranopia (no green cones)#16294B0.097
Tritanopia (no blue cones)#421B2D0.067
Achromatopsia (no color)#2727270.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #42104C

    #42104C

    oklch(28.8% 0.112 320.4)

  • #083500

    #083500

    oklch(28.8% 0.094 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42104C

    #42104C

    oklch(28.8% 0.112 320.4)

  • #2D1B5D

    #2D1B5D

    oklch(28.9% 0.111 290.2)

  • #500632

    #500632

    oklch(28.9% 0.112 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #42104C

    #42104C

    oklch(28.8% 0.112 320.4)

  • #2D2D00

    #2D2D00

    oklch(28.8% 0.063 109.8)

  • #003427

    #003427

    oklch(28.9% 0.057 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42104C

    #42104C

    oklch(28.8% 0.112 320.4)

  • #3A2700

    #3A2700

    oklch(28.8% 0.06 80.5)

  • #003235

    #003235

    oklch(28.9% 0.049 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42104C

    #42104C

    oklch(28.8% 0.112 320.4)

  • #471D00

    #471D00

    oklch(28.8% 0.075 50.6)

  • #083500

    #083500

    oklch(28.8% 0.094 140.5)

  • #003042

    #003042

    oklch(28.9% 0.057 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42104C 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.