#42344A

Closest named color: Onyx (#343A40). oklch(34.9% 0.042 313), rgb(66, 52, 74).

Aa

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

About this color

#42344A is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.042 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.038 away. White text reads best on it, at 11.52:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.042)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.82:1
White text11.52:1

Values

HEX#42344A
RGBrgb(66, 52, 74)
HSLhsl(278, 17%, 25%)
OKLCHoklch(34.9% 0.042 313)

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 #42344A 11.52:1 AAA Lc -100.2 Preferred for body text
Black text on #42344A 1.82:1 Fails Lc 7.4 Not readable
#42344A text on white 11.52:1 AAA Lc 96.5 Preferred for body text
#42344A text on black 1.82: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C8BBCF

    oklch(80.9% 0.031 314)

  5. Step 400

    400

    #AC98B7

    oklch(70.7% 0.05 313.6)

  6. Step 500

    500

    #977EA5

    oklch(63% 0.064 313.3)

  7. Step 600

    600

    #826791

    oklch(55.6% 0.071 313.2)

  8. Step 700

    700

    #6E567B

    oklch(49.2% 0.064 313.4)

  9. Step 800

    800

    #594664

    oklch(42.6% 0.054 312.8)

  10. Step 900

    900 (this color)

    #42344A

    oklch(34.9% 0.042 313)

  11. Step 950

    950

    #2B2330

    oklch(27.1% 0.026 312.3)

Export this scale for Tailwind in the Tailwind colors tool

#42344A 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)#31384B0.030
Deuteranopia (no green cones)#3439490.028
Tritanopia (no blue cones)#41373C0.029
Achromatopsia (no color)#3939390.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #42344A

    #42344A

    oklch(34.9% 0.042 313)

  • #323F29

    #323F29

    oklch(34.9% 0.041 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42344A

    #42344A

    oklch(34.9% 0.042 313)

  • #373850

    #373850

    oklch(35% 0.042 282.2)

  • #4A3240

    #4A3240

    oklch(35% 0.041 343.6)

Open the analogous palette in the generator

Split complementary

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

  • #42344A

    #42344A

    oklch(34.9% 0.042 313)

  • #3E3B21

    #3E3B21

    oklch(34.8% 0.041 102.6)

  • #254134

    #254134

    oklch(34.9% 0.041 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42344A

    #42344A

    oklch(34.9% 0.042 313)

  • #483721

    #483721

    oklch(35% 0.042 72.9)

  • #1D4140

    #1D4140

    oklch(34.8% 0.042 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42344A

    #42344A

    oklch(34.9% 0.042 313)

  • #4D3329

    #4D3329

    oklch(34.9% 0.042 41.9)

  • #323F29

    #323F29

    oklch(34.9% 0.041 133)

  • #203F4A

    #203F4A

    oklch(34.9% 0.041 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42344A 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.