#42297A

Closest named color: Dark Slate Blue (#483D8B). oklch(36% 0.131 292.8), rgb(66, 41, 122).

Aa

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

About this color

#42297A is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.131 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.057 away. White text reads best on it, at 11.47:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.82:1
White text11.47:1

Values

HEX#42297A
RGBrgb(66, 41, 122)
HSLhsl(259, 50%, 32%)
OKLCHoklch(36% 0.131 292.8)

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 #42297A 11.47:1 AAA Lc -99.8 Preferred for body text
Black text on #42297A 1.82:1 Fails Lc 7.9 Not readable
#42297A text on white 11.47:1 AAA Lc 96.0 Preferred for body text
#42297A text on black 1.82: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #DAD3FB

    oklch(88.5% 0.055 293.3)

  4. Step 300

    300

    #C2B5FB

    oklch(80.9% 0.098 292.6)

  5. Step 400

    400

    #A58BF9

    oklch(70.7% 0.158 292.8)

  6. Step 500

    500

    #9169F5

    oklch(63% 0.201 292.9)

  7. Step 600

    600

    #7D4BE4

    oklch(55.5% 0.219 292.9)

  8. Step 700

    700

    #6A3BC6

    oklch(49.1% 0.202 292.9)

  9. Step 800

    800

    #5632A0

    oklch(42.6% 0.168 292.9)

  10. Step 900

    900 (this color)

    #42297A

    oklch(36% 0.131 292.8)

  11. Step 950

    950

    #291C4B

    oklch(27.1% 0.084 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#42297A 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)#003A7D0.080
Deuteranopia (no green cones)#0038780.080
Tritanopia (no blue cones)#323C4D0.105
Achromatopsia (no color)#3939390.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #42297A

    #42297A

    oklch(36% 0.131 292.8)

  • #3E4100

    #3E4100

    oklch(36% 0.08 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42297A

    #42297A

    oklch(36% 0.131 292.8)

  • #143780

    #143780

    oklch(36% 0.13 262.5)

  • #5C1D64

    #5C1D64

    oklch(36.1% 0.131 323)

Open the analogous palette in the generator

Split complementary

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

  • #42297A

    #42297A

    oklch(36% 0.131 292.8)

  • #503900

    #503900

    oklch(36.1% 0.074 83.2)

  • #004C02

    #004C02

    oklch(36.1% 0.122 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42297A

    #42297A

    oklch(36% 0.131 292.8)

  • #612C00

    #612C00

    oklch(35.9% 0.092 52.4)

  • #004939

    #004939

    oklch(36.1% 0.07 171.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42297A

    #42297A

    oklch(36% 0.131 292.8)

  • #731019

    #731019

    oklch(36.1% 0.132 23)

  • #3E4100

    #3E4100

    oklch(36% 0.08 112.7)

  • #00464B

    #00464B

    oklch(35.9% 0.061 202.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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