#42247D

Closest named color: Indigo (#4B0082). oklch(35.5% 0.142 293.3), rgb(66, 36, 125).

Aa

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

About this color

#42247D is a dark, vivid purple. In OKLCH its lightness is 35%, its chroma 0.142 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.047 away. White text reads best on it, at 11.79:1.

Hue familyPurples
Lightnessdark (35%)
Chromavivid (0.142)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.78:1
White text11.79:1

Values

HEX#42247D
RGBrgb(66, 36, 125)
HSLhsl(260, 55%, 32%)
OKLCHoklch(35.5% 0.142 293.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 #42247D 11.79:1 AAA Lc -100.2 Preferred for body text
Black text on #42247D 1.78:1 Fails Lc 7.4 Not readable
#42247D text on white 11.79:1 AAA Lc 96.5 Preferred for body text
#42247D text on black 1.78: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

    #EAE6FD

    oklch(93.5% 0.031 293.8)

  3. Step 200

    200

    #DAD2FD

    oklch(88.4% 0.059 293.7)

  4. Step 300

    300

    #C3B4FF

    oklch(80.9% 0.105 293.1)

  5. Step 400

    400

    #A788FF

    oklch(70.7% 0.17 293.6)

  6. Step 500

    500

    #9364FE

    oklch(63% 0.218 293.2)

  7. Step 600

    600

    #8044ED

    oklch(55.7% 0.237 293.4)

  8. Step 700

    700

    #6C33CE

    oklch(49% 0.22 293.2)

  9. Step 800

    800

    #582DA7

    oklch(42.8% 0.182 293.2)

  10. Step 900

    900 (this color)

    #42247D

    oklch(35.5% 0.142 293.3)

  11. Step 950

    950

    #2A1A4D

    oklch(27% 0.09 294)

Export this scale for Tailwind in the Tailwind colors tool

#42247D 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)#0039800.084
Deuteranopia (no green cones)#00367B0.083
Tritanopia (no blue cones)#313A4D0.112
Achromatopsia (no color)#3838380.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #42247D

    #42247D

    oklch(35.5% 0.142 293.3)

  • #3C4000

    #3C4000

    oklch(35.6% 0.08 113.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42247D

    #42247D

    oklch(35.5% 0.142 293.3)

  • #103384

    #103384

    oklch(35.4% 0.142 263.3)

  • #5D1665

    #5D1665

    oklch(35.6% 0.141 323.5)

Open the analogous palette in the generator

Split complementary

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

  • #42247D

    #42247D

    oklch(35.5% 0.142 293.3)

  • #4E3800

    #4E3800

    oklch(35.6% 0.073 83.9)

  • #004A05

    #004A05

    oklch(35.5% 0.118 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42247D

    #42247D

    oklch(35.5% 0.142 293.3)

  • #5F2C00

    #5F2C00

    oklch(35.6% 0.09 53.5)

  • #004738

    #004738

    oklch(35.5% 0.068 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42247D

    #42247D

    oklch(35.5% 0.142 293.3)

  • #750213

    #750213

    oklch(35.6% 0.142 23.4)

  • #3C4000

    #3C4000

    oklch(35.6% 0.08 113.7)

  • #00454A

    #00454A

    oklch(35.6% 0.061 203)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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