#342C3E

Closest named color: Space Cadet (#2B2D42). oklch(31% 0.033 304.8), rgb(52, 44, 62).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.033)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.57:1
White text13.32:1

Values

HEX#342C3E
RGBrgb(52, 44, 62)
HSLhsl(267, 17%, 21%)
OKLCHoklch(31% 0.033 304.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 #342C3E 13.32:1 AAA Lc -102.9 Preferred for body text
Black text on #342C3E 1.57:1 Fails Lc 0.0 Not readable
#342C3E text on white 13.32:1 AAA Lc 99.7 Preferred for body text
#342C3E text on black 1.57: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E5

    oklch(88.5% 0.021 304)

  4. Step 300

    300

    #C6BBD6

    oklch(81% 0.039 304)

  5. Step 400

    400

    #A997C1

    oklch(70.7% 0.063 304.3)

  6. Step 500

    500

    #957DB1

    oklch(63.1% 0.081 305.3)

  7. Step 600

    600

    #7F669D

    oklch(55.6% 0.088 304.6)

  8. Step 700

    700

    #6B5486

    oklch(49% 0.082 304.7)

  9. Step 800

    800

    #57456D

    oklch(42.6% 0.068 304.3)

  10. Step 900

    900

    #483A58

    oklch(37.6% 0.053 305.4)

  11. Step 950

    950 (this color)

    #342C3E

    oklch(31% 0.033 304.8)

Export this scale for Tailwind in the Tailwind colors tool

#342C3E 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)#292F3F0.020
Deuteranopia (no green cones)#2A2F3D0.020
Tritanopia (no blue cones)#332E320.025
Achromatopsia (no color)#2F2F2F0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #342C3E

    #342C3E

    oklch(31% 0.033 304.8)

  • #2C3320

    #2C3320

    oklch(30.8% 0.034 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342C3E

    #342C3E

    oklch(31% 0.033 304.8)

  • #2B2F41

    #2B2F41

    oklch(30.9% 0.033 274.6)

  • #3B2A37

    #3B2A37

    oklch(31% 0.033 335)

Open the analogous palette in the generator

Split complementary

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

  • #342C3E

    #342C3E

    oklch(31% 0.033 304.8)

  • #35301C

    #35301C

    oklch(30.9% 0.034 95.8)

  • #223529

    #223529

    oklch(30.8% 0.033 156.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342C3E

    #342C3E

    oklch(31% 0.033 304.8)

  • #3C2D1E

    #3C2D1E

    oklch(31% 0.033 66.1)

  • #1B3632

    #1B3632

    oklch(31% 0.034 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342C3E

    #342C3E

    oklch(31% 0.033 304.8)

  • #3F2A25

    #3F2A25

    oklch(30.9% 0.033 33.9)

  • #2C3320

    #2C3320

    oklch(30.8% 0.034 124.8)

  • #1B353B

    #1B353B

    oklch(31.1% 0.034 214.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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