#34215B

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.1 294.9), rgb(52, 33, 91).

Aa

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

About this color

#34215B is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.100 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.064 away. White text reads best on it, at 13.86:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.51:1
White text13.86:1

Values

HEX#34215B
RGBrgb(52, 33, 91)
HSLhsl(260, 47%, 24%)
OKLCHoklch(30.5% 0.1 294.9)

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 #34215B 13.86:1 AAA Lc -103.3 Preferred for body text
Black text on #34215B 1.51:1 Fails Lc 0.0 Not readable
#34215B text on white 13.86:1 AAA Lc 100.2 Preferred for body text
#34215B text on black 1.51: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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FF

    oklch(93.6% 0.034 294.9)

  3. Step 200

    200

    #DBD2FF

    oklch(88.5% 0.062 294.3)

  4. Step 300

    300

    #C5B3FF

    oklch(80.9% 0.107 294.8)

  5. Step 400

    400

    #AA87FF

    oklch(70.7% 0.172 295.1)

  6. Step 500

    500

    #9761FF

    oklch(63.1% 0.224 294.9)

  7. Step 600

    600

    #8635F8

    oklch(55.6% 0.263 295)

  8. Step 700

    700

    #7223D8

    oklch(49.1% 0.244 295.1)

  9. Step 800

    800

    #5C22AE

    oklch(42.6% 0.201 295)

  10. Step 900

    900

    #4B258A

    oklch(37.8% 0.157 294.9)

  11. Step 950

    950 (this color)

    #34215B

    oklch(30.5% 0.1 294.9)

Export this scale for Tailwind in the Tailwind colors tool

#34215B 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)#002D5D0.068
Deuteranopia (no green cones)#062C5A0.065
Tritanopia (no blue cones)#2A2E3A0.080
Achromatopsia (no color)#2D2D2D0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #34215B

    #34215B

    oklch(30.5% 0.1 294.9)

  • #2E3300

    #2E3300

    oklch(30.6% 0.07 115.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34215B

    #34215B

    oklch(30.5% 0.1 294.9)

  • #162B61

    #162B61

    oklch(30.7% 0.1 265)

  • #47194A

    #47194A

    oklch(30.6% 0.099 325.2)

Open the analogous palette in the generator

Split complementary

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

  • #34215B

    #34215B

    oklch(30.5% 0.1 294.9)

  • #3E2C00

    #3E2C00

    oklch(30.6% 0.063 84.2)

  • #003B09

    #003B09

    oklch(30.6% 0.097 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34215B

    #34215B

    oklch(30.5% 0.1 294.9)

  • #4B2300

    #4B2300

    oklch(30.6% 0.075 55.6)

  • #00382D

    #00382D

    oklch(30.4% 0.057 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34215B

    #34215B

    oklch(30.5% 0.1 294.9)

  • #571313

    #571313

    oklch(30.6% 0.099 25.3)

  • #2E3300

    #2E3300

    oklch(30.6% 0.07 115.6)

  • #00363C

    #00363C

    oklch(30.4% 0.052 206.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34215B 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.