#34204D

Closest named color: Space Cadet (#2B2D42). oklch(29.3% 0.081 302.2), rgb(52, 32, 77).

Aa

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

About this color

#34204D is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.081 and its hue 302°. 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 14.38:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.45:1
White text14.38:1

Values

HEX#34204D
RGBrgb(52, 32, 77)
HSLhsl(267, 41%, 21%)
OKLCHoklch(29.3% 0.081 302.2)

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 #34204D 14.38:1 AAA Lc -103.9 Preferred for body text
Black text on #34204D 1.45:1 Fails Lc 0.0 Not readable
#34204D text on white 14.38:1 AAA Lc 101.0 Preferred for body text
#34204D text on black 1.45: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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD1F7

    oklch(88.4% 0.054 302.1)

  4. Step 300

    300

    #CCB2F5

    oklch(80.9% 0.097 302.1)

  5. Step 400

    400

    #B387EF

    oklch(70.7% 0.153 302.2)

  6. Step 500

    500

    #A164EA

    oklch(63.1% 0.197 302.1)

  7. Step 600

    600

    #8D46D8

    oklch(55.6% 0.213 302.2)

  8. Step 700

    700

    #7836BB

    oklch(49.1% 0.198 302.2)

  9. Step 800

    800

    #612E97

    oklch(42.6% 0.164 302.1)

  10. Step 900

    900

    #4F2B79

    oklch(37.7% 0.128 301.8)

  11. Step 950

    950 (this color)

    #34204D

    oklch(29.3% 0.081 302.2)

Export this scale for Tailwind in the Tailwind colors tool

#34204D 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)#10294F0.059
Deuteranopia (no green cones)#162A4C0.055
Tritanopia (no blue cones)#2F29330.062
Achromatopsia (no color)#2A2A2A0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #34204D

    #34204D

    oklch(29.3% 0.081 302.2)

  • #263100

    #263100

    oklch(29.2% 0.071 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34204D

    #34204D

    oklch(29.3% 0.081 302.2)

  • #1F2754

    #1F2754

    oklch(29.2% 0.082 272.8)

  • #421A3E

    #421A3E

    oklch(29.2% 0.081 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #34204D

    #34204D

    oklch(29.3% 0.081 302.2)

  • #372B00

    #372B00

    oklch(29.4% 0.06 92.3)

  • #003618

    #003618

    oklch(29.2% 0.076 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34204D

    #34204D

    oklch(29.3% 0.081 302.2)

  • #432300

    #432300

    oklch(29.3% 0.067 62.5)

  • #00342E

    #00342E

    oklch(29.2% 0.052 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34204D

    #34204D

    oklch(29.3% 0.081 302.2)

  • #4D190F

    #4D190F

    oklch(29.4% 0.081 32.8)

  • #263100

    #263100

    oklch(29.2% 0.071 122.2)

  • #00323B

    #00323B

    oklch(29.1% 0.051 213.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34204D 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.