#34234D

Closest named color: Space Cadet (#2B2D42). oklch(29.9% 0.075 300.6), rgb(52, 35, 77).

Aa

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

About this color

#34234D is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.075 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.043 away. White text reads best on it, at 14.06:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.49:1
White text14.06:1

Values

HEX#34234D
RGBrgb(52, 35, 77)
HSLhsl(264, 37%, 22%)
OKLCHoklch(29.9% 0.075 300.6)

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 #34234D 14.06:1 AAA Lc -103.6 Preferred for body text
Black text on #34234D 1.49:1 Fails Lc 0.0 Not readable
#34234D text on white 14.06:1 AAA Lc 100.6 Preferred for body text
#34234D text on black 1.49: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F6

    oklch(88.5% 0.051 300.6)

  4. Step 300

    300

    #CAB4F2

    oklch(81% 0.089 300.7)

  5. Step 400

    400

    #B08AEB

    oklch(70.7% 0.142 300.9)

  6. Step 500

    500

    #9D69E5

    oklch(63.1% 0.183 300.6)

  7. Step 600

    600

    #884CD3

    oklch(55.5% 0.199 300.4)

  8. Step 700

    700

    #743CB7

    oklch(49.1% 0.185 300.6)

  9. Step 800

    800

    #5E3394

    oklch(42.7% 0.153 300.4)

  10. Step 900

    900

    #4D2E76

    oklch(37.7% 0.119 300.7)

  11. Step 950

    950 (this color)

    #34234D

    oklch(29.9% 0.075 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#34234D 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)#152B4E0.052
Deuteranopia (no green cones)#1A2B4C0.047
Tritanopia (no blue cones)#2F2B340.059
Achromatopsia (no color)#2C2C2C0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #34234D

    #34234D

    oklch(29.9% 0.075 300.6)

  • #293200

    #293200

    oklch(29.8% 0.071 120)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34234D

    #34234D

    oklch(29.9% 0.075 300.6)

  • #202A53

    #202A53

    oklch(29.9% 0.075 270.9)

  • #421D3F

    #421D3F

    oklch(29.8% 0.076 330.4)

Open the analogous palette in the generator

Split complementary

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

  • #34234D

    #34234D

    oklch(29.9% 0.075 300.6)

  • #392C00

    #392C00

    oklch(29.9% 0.061 91.2)

  • #063818

    #063818

    oklch(30% 0.076 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34234D

    #34234D

    oklch(29.9% 0.075 300.6)

  • #462400

    #462400

    oklch(30% 0.07 61.2)

  • #00362F

    #00362F

    oklch(29.9% 0.054 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34234D

    #34234D

    oklch(29.9% 0.075 300.6)

  • #4D1C15

    #4D1C15

    oklch(30% 0.076 30.3)

  • #293200

    #293200

    oklch(29.8% 0.071 120)

  • #00343C

    #00343C

    oklch(29.8% 0.052 211.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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