#34223F

Closest named color: Space Cadet (#2B2D42). oklch(28.8% 0.056 311.8), rgb(52, 34, 63).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.056)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.44:1
White text14.51:1

Values

HEX#34223F
RGBrgb(52, 34, 63)
HSLhsl(277, 30%, 19%)
OKLCHoklch(28.8% 0.056 311.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 #34223F 14.51:1 AAA Lc -104.1 Preferred for body text
Black text on #34223F 1.44:1 Fails Lc 0.0 Not readable
#34223F text on white 14.51:1 AAA Lc 101.2 Preferred for body text
#34223F text on black 1.44: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F4

    oklch(93.5% 0.021 311.1)

  3. Step 200

    200

    #E1D3EB

    oklch(88.5% 0.036 311.4)

  4. Step 300

    300

    #CFB5E1

    oklch(81% 0.067 311.4)

  5. Step 400

    400

    #B78DD1

    oklch(70.7% 0.107 312)

  6. Step 500

    500

    #A56FC5

    oklch(63.1% 0.137 311.9)

  7. Step 600

    600

    #9055B1

    oklch(55.5% 0.149 312.1)

  8. Step 700

    700

    #7A4599

    oklch(49.1% 0.139 311.5)

  9. Step 800

    800

    #63397C

    oklch(42.6% 0.115 311.4)

  10. Step 900

    900

    #513264

    oklch(37.7% 0.09 311.4)

  11. Step 950

    950 (this color)

    #34223F

    oklch(28.8% 0.056 311.8)

Export this scale for Tailwind in the Tailwind colors tool

#34223F 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)#1C28400.044
Deuteranopia (no green cones)#212A3E0.041
Tritanopia (no blue cones)#33262D0.039
Achromatopsia (no color)#2929290.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #34223F

    #34223F

    oklch(28.8% 0.056 311.8)

  • #203011

    #203011

    oklch(28.6% 0.056 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34223F

    #34223F

    oklch(28.8% 0.056 311.8)

  • #262746

    #262746

    oklch(28.8% 0.056 280.9)

  • #3D1F33

    #3D1F33

    oklch(28.8% 0.056 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #34223F

    #34223F

    oklch(28.8% 0.056 311.8)

  • #312B04

    #312B04

    oklch(28.7% 0.056 100.3)

  • #083322

    #083322

    oklch(28.7% 0.056 162.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34223F

    #34223F

    oklch(28.8% 0.056 311.8)

  • #3C2505

    #3C2505

    oklch(28.7% 0.056 70.6)

  • #003231

    #003231

    oklch(28.7% 0.049 192.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34223F

    #34223F

    oklch(28.8% 0.056 311.8)

  • #422013

    #422013

    oklch(28.7% 0.057 41.3)

  • #203011

    #203011

    oklch(28.6% 0.056 131.7)

  • #00303D

    #00303D

    oklch(28.7% 0.053 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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