#342B53

Closest named color: Space Cadet (#2B2D42). oklch(31.9% 0.07 292.3), rgb(52, 43, 83).

Aa

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

About this color

#342B53 is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.070 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.037 away. White text reads best on it, at 12.99:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.070)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.61:1
White text12.99:1

Values

HEX#342B53
RGBrgb(52, 43, 83)
HSLhsl(253, 32%, 25%)
OKLCHoklch(31.9% 0.07 292.3)

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 #342B53 12.99:1 AAA Lc -102.4 Preferred for body text
Black text on #342B53 1.61:1 Fails Lc 0.0 Not readable
#342B53 text on white 12.99:1 AAA Lc 99.1 Preferred for body text
#342B53 text on black 1.61: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #D9D4F6

    oklch(88.5% 0.047 292.2)

  4. Step 300

    300

    #C1B7F2

    oklch(80.8% 0.083 292.2)

  5. Step 400

    400

    #A390EC

    oklch(70.7% 0.133 292.1)

  6. Step 500

    500

    #8E71E6

    oklch(63.1% 0.17 292.2)

  7. Step 600

    600

    #7A56D4

    oklch(55.6% 0.185 292.5)

  8. Step 700

    700

    #6746B7

    oklch(49.2% 0.17 292.5)

  9. Step 800

    800

    #533A94

    oklch(42.6% 0.141 292.1)

  10. Step 900

    900

    #453376

    oklch(37.7% 0.11 292.7)

  11. Step 950

    950 (this color)

    #342B53

    oklch(31.9% 0.07 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#342B53 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)#1E32540.038
Deuteranopia (no green cones)#1F30520.035
Tritanopia (no blue cones)#2D333B0.058
Achromatopsia (no color)#3131310.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #342B53

    #342B53

    oklch(31.9% 0.07 292.3)

  • #343601

    #343601

    oklch(32% 0.07 112)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342B53

    #342B53

    oklch(31.9% 0.07 292.3)

  • #1F3256

    #1F3256

    oklch(32.1% 0.069 262.2)

  • #432547

    #432547

    oklch(31.8% 0.07 322.7)

Open the analogous palette in the generator

Split complementary

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

  • #342B53

    #342B53

    oklch(31.9% 0.07 292.3)

  • #432F00

    #432F00

    oklch(32% 0.066 82.9)

  • #1B3B19

    #1B3B19

    oklch(31.8% 0.069 142.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342B53

    #342B53

    oklch(31.9% 0.07 292.3)

  • #4E270B

    #4E270B

    oklch(32% 0.07 52.4)

  • #003D2F

    #003D2F

    oklch(32.1% 0.062 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342B53

    #342B53

    oklch(31.9% 0.07 292.3)

  • #512222

    #512222

    oklch(31.9% 0.071 21.9)

  • #343601

    #343601

    oklch(32% 0.07 112)

  • #003B3F

    #003B3F

    oklch(32.1% 0.055 202.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #342B53 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.