#42334F

Closest named color: Onyx (#343A40). oklch(35% 0.051 308.4), rgb(66, 51, 79).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.051)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.81:1
White text11.55:1

Values

HEX#42334F
RGBrgb(66, 51, 79)
HSLhsl(272, 22%, 25%)
OKLCHoklch(35% 0.051 308.4)

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 #42334F 11.55:1 AAA Lc -100.2 Preferred for body text
Black text on #42334F 1.81:1 Fails Lc 7.3 Not readable
#42334F text on white 11.55:1 AAA Lc 96.6 Preferred for body text
#42334F text on black 1.81: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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DDD6E4

    oklch(88.6% 0.02 308.2)

  4. Step 300

    300

    #C8BAD4

    oklch(80.9% 0.039 309.5)

  5. Step 400

    400

    #AB97BE

    oklch(70.7% 0.06 308.1)

  6. Step 500

    500

    #977DAE

    oklch(63.2% 0.078 308.4)

  7. Step 600

    600

    #81659A

    oklch(55.5% 0.086 308)

  8. Step 700

    700

    #6D5483

    oklch(49% 0.079 308.1)

  9. Step 800

    800

    #59456B

    oklch(42.7% 0.066 307.9)

  10. Step 900

    900 (this color)

    #42334F

    oklch(35% 0.051 308.4)

  11. Step 950

    950

    #2B2233

    oklch(27% 0.033 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#42334F 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)#2E38500.035
Deuteranopia (no green cones)#31394E0.033
Tritanopia (no blue cones)#40373D0.038
Achromatopsia (no color)#3939390.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #42334F

    #42334F

    oklch(35% 0.051 308.4)

  • #324022

    #324022

    oklch(35% 0.052 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42334F

    #42334F

    oklch(35% 0.051 308.4)

  • #343855

    #343855

    oklch(35% 0.051 277.4)

  • #4C3044

    #4C3044

    oklch(35% 0.051 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #42334F

    #42334F

    oklch(35% 0.051 308.4)

  • #413B19

    #413B19

    oklch(35% 0.052 99.5)

  • #214330

    #214330

    oklch(35.1% 0.052 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42334F

    #42334F

    oklch(35% 0.051 308.4)

  • #4C351B

    #4C351B

    oklch(34.9% 0.052 68.1)

  • #134340

    #134340

    oklch(35% 0.051 189.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42334F

    #42334F

    oklch(35% 0.051 308.4)

  • #513126

    #513126

    oklch(34.9% 0.051 39.7)

  • #324022

    #324022

    oklch(35% 0.052 129.2)

  • #15414C

    #15414C

    oklch(35% 0.051 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42334F 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.