#342667

Closest named color: Midnight Blue (#191970). oklch(32.4% 0.109 288.7), rgb(52, 38, 103).

Aa

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

About this color

#342667 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.109 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.061 away. White text reads best on it, at 12.97:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.61:1
White text12.97:1

Values

HEX#342667
RGBrgb(52, 38, 103)
HSLhsl(253, 46%, 28%)
OKLCHoklch(32.4% 0.109 288.7)

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 #342667 12.97:1 AAA Lc -102.2 Preferred for body text
Black text on #342667 1.61:1 Fails Lc 0.0 Not readable
#342667 text on white 12.97:1 AAA Lc 98.9 Preferred for body text
#342667 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 900.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300

    #BEB9F3

    oklch(81% 0.081 288.4)

  5. Step 400

    400

    #9E92ED

    oklch(70.7% 0.131 288.6)

  6. Step 500

    500

    #8874E7

    oklch(63.1% 0.167 288.7)

  7. Step 600

    600

    #7359D5

    oklch(55.5% 0.182 288.7)

  8. Step 700

    700

    #6148B8

    oklch(49% 0.169 288.9)

  9. Step 800

    800

    #4F3C95

    oklch(42.7% 0.14 288.9)

  10. Step 900

    900 (this color)

    #342667

    oklch(32.4% 0.109 288.7)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#342667 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)#0033690.063
Deuteranopia (no green cones)#0030660.062
Tritanopia (no blue cones)#2435420.090
Achromatopsia (no color)#3131310.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #342667

    #342667

    oklch(32.4% 0.109 288.7)

  • #373600

    #373600

    oklch(32.3% 0.07 108.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #342667

    #342667

    oklch(32.4% 0.109 288.7)

  • #09316A

    #09316A

    oklch(32.4% 0.109 258.6)

  • #4A1C57

    #4A1C57

    oklch(32.4% 0.11 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #342667

    #342667

    oklch(32.4% 0.109 288.7)

  • #462F00

    #462F00

    oklch(32.4% 0.067 79.2)

  • #123F00

    #123F00

    oklch(32.4% 0.102 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #342667

    #342667

    oklch(32.4% 0.109 288.7)

  • #562300

    #562300

    oklch(32.5% 0.087 48.9)

  • #003E2E

    #003E2E

    oklch(32.3% 0.065 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #342667

    #342667

    oklch(32.4% 0.109 288.7)

  • #60121D

    #60121D

    oklch(32.5% 0.11 18.5)

  • #373600

    #373600

    oklch(32.3% 0.07 108.6)

  • #003C3E

    #003C3E

    oklch(32.3% 0.055 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #342667 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.