#42154A

Closest named color: Deep Violet (#490648). oklch(29.3% 0.103 321.3), rgb(66, 21, 74).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.43:1
White text14.60:1

Values

HEX#42154A
RGBrgb(66, 21, 74)
HSLhsl(291, 56%, 19%)
OKLCHoklch(29.3% 0.103 321.3)

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 #42154A 14.60:1 AAA Lc -103.9 Preferred for body text
Black text on #42154A 1.43:1 Fails Lc 0.0 Not readable
#42154A text on white 14.60:1 AAA Lc 100.9 Preferred for body text
#42154A text on black 1.43: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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F5E3F8

    oklch(93.6% 0.034 321.4)

  3. Step 200

    200

    #EECBF5

    oklch(88.5% 0.068 320.6)

  4. Step 300

    300

    #E5A6F0

    oklch(80.9% 0.122 321.4)

  5. Step 400

    400

    #D671E8

    oklch(70.7% 0.194 321.4)

  6. Step 500

    500

    #C93FE1

    oklch(63.1% 0.249 321.3)

  7. Step 600

    600

    #B400CD

    oklch(55.7% 0.265 321.4)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #661274

    oklch(37.8% 0.163 321.3)

  11. Step 950

    950 (this color)

    #42154A

    oklch(29.3% 0.103 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#42154A 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)#07254C0.103
Deuteranopia (no green cones)#1B2A490.087
Tritanopia (no blue cones)#431E2D0.063
Achromatopsia (no color)#2929290.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #42154A

    #42154A

    oklch(29.3% 0.103 321.3)

  • #053700

    #053700

    oklch(29.3% 0.097 141.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42154A

    #42154A

    oklch(29.3% 0.103 321.3)

  • #2E1E5A

    #2E1E5A

    oklch(29.3% 0.103 291)

  • #4F0D32

    #4F0D32

    oklch(29.3% 0.104 351.3)

Open the analogous palette in the generator

Split complementary

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

  • #42154A

    #42154A

    oklch(29.3% 0.103 321.3)

  • #2D2F00

    #2D2F00

    oklch(29.3% 0.065 112.3)

  • #003528

    #003528

    oklch(29.3% 0.057 170.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42154A

    #42154A

    oklch(29.3% 0.103 321.3)

  • #3B2800

    #3B2800

    oklch(29.2% 0.06 81)

  • #003336

    #003336

    oklch(29.2% 0.05 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42154A

    #42154A

    oklch(29.3% 0.103 321.3)

  • #481E00

    #481E00

    oklch(29.1% 0.076 51.2)

  • #053700

    #053700

    oklch(29.3% 0.097 141.3)

  • #003144

    #003144

    oklch(29.4% 0.059 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42154A 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.