#42213F

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.068 330.5), rgb(66, 33, 63).

Aa

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

About this color

#42213F is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.068 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.053 away. White text reads best on it, at 13.80:1.

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

Values

HEX#42213F
RGBrgb(66, 33, 63)
HSLhsl(305, 33%, 19%)
OKLCHoklch(30.5% 0.068 330.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 #42213F 13.80:1 AAA Lc -103.3 Preferred for body text
Black text on #42213F 1.52:1 Fails Lc 0.0 Not readable
#42213F text on white 13.80:1 AAA Lc 100.2 Preferred for body text
#42213F 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E5F1

    oklch(93.7% 0.023 332.4)

  3. Step 200

    200

    #EBCFE7

    oklch(88.5% 0.044 330.6)

  4. Step 300

    300

    #DFAED9

    oklch(80.8% 0.08 330.4)

  5. Step 400

    400

    #CE81C6

    oklch(70.6% 0.13 330.6)

  6. Step 500

    500

    #C05FB8

    oklch(63.2% 0.166 330.5)

  7. Step 600

    600

    #AB42A3

    oklch(55.7% 0.179 330.8)

  8. Step 700

    700

    #92328C

    oklch(49% 0.168 330.4)

  9. Step 800

    800

    #772B72

    oklch(42.7% 0.139 330.4)

  10. Step 900

    900

    #60285C

    oklch(37.7% 0.108 330.3)

  11. Step 950

    950 (this color)

    #42213F

    oklch(30.5% 0.068 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#42213F 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)#202A400.066
Deuteranopia (no green cones)#292E3E0.059
Tritanopia (no blue cones)#44232D0.036
Achromatopsia (no color)#2D2D2D0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #42213F

    #42213F

    oklch(30.5% 0.068 330.5)

  • #0F381C

    #0F381C

    oklch(30.4% 0.068 150.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42213F

    #42213F

    oklch(30.5% 0.068 330.5)

  • #35264C

    #35264C

    oklch(30.5% 0.068 300.6)

  • #4A1E2D

    #4A1E2D

    oklch(30.4% 0.069 0.6)

Open the analogous palette in the generator

Split complementary

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

  • #42213F

    #42213F

    oklch(30.5% 0.068 330.5)

  • #2A3404

    #2A3404

    oklch(30.5% 0.069 121.1)

  • #003830

    #003830

    oklch(30.5% 0.055 179.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42213F

    #42213F

    oklch(30.5% 0.068 330.5)

  • #3B2D00

    #3B2D00

    oklch(30.4% 0.062 90.1)

  • #00363E

    #00363E

    oklch(30.5% 0.053 210.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42213F

    #42213F

    oklch(30.5% 0.068 330.5)

  • #472503

    #472503

    oklch(30.4% 0.068 59.9)

  • #0F381C

    #0F381C

    oklch(30.4% 0.068 150.7)

  • #02334E

    #02334E

    oklch(30.6% 0.068 239.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42213F 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.