#42264A

Closest named color: Space Cadet (#2B2D42). oklch(32% 0.071 318.5), rgb(66, 38, 74).

Aa

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

About this color

#42264A is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.071 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.050 away. White text reads best on it, at 13.06:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.60:1
White text13.06:1

Values

HEX#42264A
RGBrgb(66, 38, 74)
HSLhsl(287, 32%, 22%)
OKLCHoklch(32% 0.071 318.5)

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 #42264A 13.06:1 AAA Lc -102.4 Preferred for body text
Black text on #42264A 1.60:1 Fails Lc 0.0 Not readable
#42264A text on white 13.06:1 AAA Lc 99.2 Preferred for body text
#42264A text on black 1.60: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0ED

    oklch(88.5% 0.046 319.2)

  4. Step 300

    300

    #D8B0E4

    oklch(80.9% 0.084 318.3)

  5. Step 400

    400

    #C484D6

    oklch(70.7% 0.135 318.6)

  6. Step 500

    500

    #B462CB

    oklch(63.1% 0.172 318.5)

  7. Step 600

    600

    #9F45B8

    oklch(55.6% 0.187 318.3)

  8. Step 700

    700

    #88359E

    oklch(49% 0.175 318.5)

  9. Step 800

    800

    #6F2D80

    oklch(42.7% 0.145 318.9)

  10. Step 900

    900

    #5A2A67

    oklch(37.7% 0.112 318.7)

  11. Step 950

    950 (this color)

    #42264A

    oklch(32% 0.071 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#42264A 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)#202F4B0.063
Deuteranopia (no green cones)#2832490.057
Tritanopia (no blue cones)#422B340.047
Achromatopsia (no color)#3131310.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #42264A

    #42264A

    oklch(32% 0.071 318.5)

  • #1F3B15

    #1F3B15

    oklch(32% 0.071 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42264A

    #42264A

    oklch(32% 0.071 318.5)

  • #322C55

    #322C55

    oklch(32.1% 0.071 288.4)

  • #4D2239

    #4D2239

    oklch(32.1% 0.072 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #42264A

    #42264A

    oklch(32% 0.071 318.5)

  • #363500

    #363500

    oklch(32% 0.069 108.6)

  • #003D2D

    #003D2D

    oklch(32% 0.064 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42264A

    #42264A

    oklch(32% 0.071 318.5)

  • #452E00

    #452E00

    oklch(32% 0.067 78.7)

  • #003B3D

    #003B3D

    oklch(32% 0.054 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42264A

    #42264A

    oklch(32% 0.071 318.5)

  • #4F260E

    #4F260E

    oklch(32% 0.071 48.4)

  • #1F3B15

    #1F3B15

    oklch(32% 0.071 138.2)

  • #00394C

    #00394C

    oklch(32.2% 0.062 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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