#42223A

Closest named color: Space Cadet (#2B2D42). oklch(30.4% 0.061 337), rgb(66, 34, 58).

Aa

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

About this color

#42223A is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.061 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.052 away. White text reads best on it, at 13.80:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.80:1

Values

HEX#42223A
RGBrgb(66, 34, 58)
HSLhsl(315, 32%, 20%)
OKLCHoklch(30.4% 0.061 337)

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 #42223A 13.80:1 AAA Lc -103.3 Preferred for body text
Black text on #42223A 1.52:1 Fails Lc 0.0 Not readable
#42223A text on white 13.80:1 AAA Lc 100.2 Preferred for body text
#42223A text on black 1.52: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #EBD0E3

    oklch(88.6% 0.039 336.5)

  4. Step 300

    300

    #E0AFD2

    oklch(80.9% 0.073 336.9)

  5. Step 400

    400

    #CE84BB

    oklch(70.7% 0.115 336.7)

  6. Step 500

    500

    #C063AA

    oklch(63.2% 0.147 336.9)

  7. Step 600

    600

    #AB4795

    oklch(55.6% 0.16 336.9)

  8. Step 700

    700

    #93387F

    oklch(49.2% 0.149 337.2)

  9. Step 800

    800

    #772F67

    oklch(42.7% 0.123 337)

  10. Step 900

    900

    #602B54

    oklch(37.7% 0.095 336.7)

  11. Step 950

    950 (this color)

    #42223A

    oklch(30.4% 0.061 337)

Export this scale for Tailwind in the Tailwind colors tool

#42223A 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)#232A3B0.061
Deuteranopia (no green cones)#2B2F390.057
Tritanopia (no blue cones)#45232B0.029
Achromatopsia (no color)#2D2D2D0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #42223A

    #42223A

    oklch(30.4% 0.061 337)

  • #0E3822

    #0E3822

    oklch(30.5% 0.061 156.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42223A

    #42223A

    oklch(30.4% 0.061 337)

  • #372647

    #372647

    oklch(30.5% 0.061 306.8)

  • #48212A

    #48212A

    oklch(30.5% 0.06 6.6)

Open the analogous palette in the generator

Split complementary

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

  • #42223A

    #42223A

    oklch(30.4% 0.061 337)

  • #27340F

    #27340F

    oklch(30.4% 0.061 126.1)

  • #003733

    #003733

    oklch(30.3% 0.053 186.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42223A

    #42223A

    oklch(30.4% 0.061 337)

  • #382F02

    #382F02

    oklch(30.6% 0.061 97.2)

  • #003541

    #003541

    oklch(30.4% 0.055 218.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42223A

    #42223A

    oklch(30.4% 0.061 337)

  • #432806

    #432806

    oklch(30.4% 0.061 67.2)

  • #0E3822

    #0E3822

    oklch(30.5% 0.061 156.6)

  • #11314C

    #11314C

    oklch(30.4% 0.062 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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