#42314E

Closest named color: Onyx (#343A40). oklch(34.5% 0.054 310.6), rgb(66, 49, 78).

Aa

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

About this color

#42314E is a dark, muted purple. In OKLCH its lightness is 34%, its chroma 0.054 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.049 away. White text reads best on it, at 11.79:1.

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.054)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.78:1
White text11.79:1

Values

HEX#42314E
RGBrgb(66, 49, 78)
HSLhsl(275, 23%, 25%)
OKLCHoklch(34.5% 0.054 310.6)

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 #42314E 11.79:1 AAA Lc -100.6 Preferred for body text
Black text on #42314E 1.78:1 Fails Lc 0.0 Not readable
#42314E text on white 11.79:1 AAA Lc 97.0 Preferred for body text
#42314E text on black 1.78: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

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #C9BAD4

    oklch(80.9% 0.04 311.1)

  5. Step 400

    400

    #AD96BF

    oklch(70.7% 0.064 310.1)

  6. Step 500

    500

    #997BAF

    oklch(63% 0.083 310.4)

  7. Step 600

    600

    #84649A

    oklch(55.6% 0.089 310.8)

  8. Step 700

    700

    #705384

    oklch(49.2% 0.083 310.7)

  9. Step 800

    800

    #5B446B

    oklch(42.7% 0.069 310.7)

  10. Step 900

    900 (this color)

    #42314E

    oklch(34.5% 0.054 310.6)

  11. Step 950

    950

    #2C2233

    oklch(27.1% 0.034 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#42314E 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)#2C374F0.040
Deuteranopia (no green cones)#30384D0.036
Tritanopia (no blue cones)#41353C0.038
Achromatopsia (no color)#3838380.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #42314E

    #42314E

    oklch(34.5% 0.054 310.6)

  • #2F3F20

    #2F3F20

    oklch(34.5% 0.055 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42314E

    #42314E

    oklch(34.5% 0.054 310.6)

  • #343655

    #343655

    oklch(34.6% 0.054 280.3)

  • #4C2E42

    #4C2E42

    oklch(34.5% 0.054 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #42314E

    #42314E

    oklch(34.5% 0.054 310.6)

  • #3F3A16

    #3F3A16

    oklch(34.5% 0.054 101.5)

  • #1C4230

    #1C4230

    oklch(34.5% 0.054 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42314E

    #42314E

    oklch(34.5% 0.054 310.6)

  • #4B3417

    #4B3417

    oklch(34.5% 0.054 70.6)

  • #0C4240

    #0C4240

    oklch(34.5% 0.054 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42314E

    #42314E

    oklch(34.5% 0.054 310.6)

  • #512F23

    #512F23

    oklch(34.5% 0.054 40.1)

  • #2F3F20

    #2F3F20

    oklch(34.5% 0.055 131.1)

  • #113F4D

    #113F4D

    oklch(34.4% 0.054 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42314E 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.