#42295E

Closest named color: Prussian Blue (#1D3557). oklch(33.9% 0.093 303.6), rgb(66, 41, 94).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.71:1
White text12.27:1

Values

HEX#42295E
RGBrgb(66, 41, 94)
HSLhsl(268, 39%, 26%)
OKLCHoklch(33.9% 0.093 303.6)

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 #42295E 12.27:1 AAA Lc -101.3 Preferred for body text
Black text on #42295E 1.71:1 Fails Lc 0.0 Not readable
#42295E text on white 12.27:1 AAA Lc 97.8 Preferred for body text
#42295E text on black 1.71: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

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #CAB6E6

    oklch(80.9% 0.07 303.8)

  5. Step 400

    400

    #AF8FD9

    oklch(70.7% 0.111 303.6)

  6. Step 500

    500

    #9C71CF

    oklch(63.1% 0.143 303.7)

  7. Step 600

    600

    #8758BC

    oklch(55.7% 0.154 303.5)

  8. Step 700

    700

    #7347A2

    oklch(49.1% 0.144 303.9)

  9. Step 800

    800

    #5D3B83

    oklch(42.7% 0.119 303.6)

  10. Step 900

    900 (this color)

    #42295E

    oklch(33.9% 0.093 303.6)

  11. Step 950

    950

    #2D1E3E

    oklch(27% 0.06 304.3)

Export this scale for Tailwind in the Tailwind colors tool

#42295E 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)#1734600.069
Deuteranopia (no green cones)#1F355D0.063
Tritanopia (no blue cones)#3D333F0.069
Achromatopsia (no color)#3535350.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #42295E

    #42295E

    oklch(33.9% 0.093 303.6)

  • #2F3E00

    #2F3E00

    oklch(33.8% 0.084 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42295E

    #42295E

    oklch(33.9% 0.093 303.6)

  • #293267

    #293267

    oklch(33.9% 0.093 273.2)

  • #53224B

    #53224B

    oklch(33.9% 0.093 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #42295E

    #42295E

    oklch(33.9% 0.093 303.6)

  • #443600

    #443600

    oklch(33.8% 0.069 92.7)

  • #004421

    #004421

    oklch(33.9% 0.087 153.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42295E

    #42295E

    oklch(33.9% 0.093 303.6)

  • #532D00

    #532D00

    oklch(33.9% 0.077 62.9)

  • #00413B

    #00413B

    oklch(33.7% 0.06 184.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42295E

    #42295E

    oklch(33.9% 0.093 303.6)

  • #5E2114

    #5E2114

    oklch(33.8% 0.092 33.7)

  • #2F3E00

    #2F3E00

    oklch(33.8% 0.084 123.6)

  • #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 #42295E, closest first.

Similar named colors

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

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