#42295D

Closest named color: Space Cadet (#2B2D42). oklch(33.8% 0.091 304.1), rgb(66, 41, 93).

Aa

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

About this color

#42295D is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.091 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.068 away. White text reads best on it, at 12.30:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.70:1
White text12.30:1

Values

HEX#42295D
RGBrgb(66, 41, 93)
HSLhsl(269, 39%, 26%)
OKLCHoklch(33.8% 0.091 304.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 #42295D 12.30:1 AAA Lc -101.3 Preferred for body text
Black text on #42295D 1.70:1 Fails Lc 0.0 Not readable
#42295D text on white 12.30:1 AAA Lc 97.8 Preferred for body text
#42295D text on black 1.70: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DED3EE

    oklch(88.4% 0.038 304)

  4. Step 300

    300

    #CAB6E5

    oklch(80.9% 0.069 304.3)

  5. Step 400

    400

    #B08FD8

    oklch(70.7% 0.11 304.5)

  6. Step 500

    500

    #9C72CD

    oklch(63.1% 0.139 304)

  7. Step 600

    600

    #8758BA

    oklch(55.5% 0.152 304)

  8. Step 700

    700

    #7347A1

    oklch(49.1% 0.143 304.2)

  9. Step 800

    800

    #5D3B82

    oklch(42.6% 0.117 304)

  10. Step 900

    900 (this color)

    #42295D

    oklch(33.8% 0.091 304.1)

  11. Step 950

    950

    #2D1E3D

    oklch(26.9% 0.059 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#42295D 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)#18345F0.069
Deuteranopia (no green cones)#20355C0.062
Tritanopia (no blue cones)#3D333E0.070
Achromatopsia (no color)#3535350.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #42295D

    #42295D

    oklch(33.8% 0.091 304.1)

  • #2E3E00

    #2E3E00

    oklch(33.7% 0.084 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42295D

    #42295D

    oklch(33.8% 0.091 304.1)

  • #2A3266

    #2A3266

    oklch(33.9% 0.091 274)

  • #52224A

    #52224A

    oklch(33.7% 0.091 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #42295D

    #42295D

    oklch(33.8% 0.091 304.1)

  • #433600

    #433600

    oklch(33.7% 0.069 93.9)

  • #004422

    #004422

    oklch(33.9% 0.086 154)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42295D

    #42295D

    oklch(33.8% 0.091 304.1)

  • #522D00

    #522D00

    oklch(33.7% 0.076 63.7)

  • #00413B

    #00413B

    oklch(33.7% 0.06 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42295D

    #42295D

    oklch(33.8% 0.091 304.1)

  • #5E2214

    #5E2214

    oklch(33.9% 0.091 34.5)

  • #2E3E00

    #2E3E00

    oklch(33.7% 0.084 124.3)

  • #003F4A

    #003F4A

    oklch(33.8% 0.059 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42295D 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.