#42314D

Closest named color: Onyx (#343A40). oklch(34.4% 0.052 311.5), rgb(66, 49, 77).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.052)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.77:1
White text11.81:1

Values

HEX#42314D
RGBrgb(66, 49, 77)
HSLhsl(276, 22%, 25%)
OKLCHoklch(34.4% 0.052 311.5)

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 #42314D 11.81:1 AAA Lc -100.7 Preferred for body text
Black text on #42314D 1.77:1 Fails Lc 0.0 Not readable
#42314D text on white 11.81:1 AAA Lc 97.1 Preferred for body text
#42314D text on black 1.77: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

    #AE96BE

    oklch(70.8% 0.063 311.7)

  6. Step 500

    500

    #9A7CAD

    oklch(63.2% 0.079 311.9)

  7. Step 600

    600

    #846499

    oklch(55.6% 0.088 311.3)

  8. Step 700

    700

    #705382

    oklch(49.1% 0.081 311.9)

  9. Step 800

    800

    #5B446A

    oklch(42.7% 0.067 311.4)

  10. Step 900

    900 (this color)

    #42314D

    oklch(34.4% 0.052 311.5)

  11. Step 950

    950

    #2C2232

    oklch(27.1% 0.032 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#42314D 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)#2C374E0.040
Deuteranopia (no green cones)#30384C0.036
Tritanopia (no blue cones)#41353B0.038
Achromatopsia (no color)#3838380.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #42314D

    #42314D

    oklch(34.4% 0.052 311.5)

  • #2F3F21

    #2F3F21

    oklch(34.5% 0.053 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42314D

    #42314D

    oklch(34.4% 0.052 311.5)

  • #343654

    #343654

    oklch(34.5% 0.052 280.3)

  • #4C2E41

    #4C2E41

    oklch(34.5% 0.053 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #42314D

    #42314D

    oklch(34.4% 0.052 311.5)

  • #3F3A17

    #3F3A17

    oklch(34.5% 0.053 101.3)

  • #1D4230

    #1D4230

    oklch(34.6% 0.054 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42314D

    #42314D

    oklch(34.4% 0.052 311.5)

  • #4A3418

    #4A3418

    oklch(34.4% 0.053 71.1)

  • #0E4240

    #0E4240

    oklch(34.6% 0.053 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42314D

    #42314D

    oklch(34.4% 0.052 311.5)

  • #503023

    #503023

    oklch(34.5% 0.052 42.8)

  • #2F3F21

    #2F3F21

    oklch(34.5% 0.053 131.6)

  • #133F4C

    #133F4C

    oklch(34.4% 0.052 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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