#42407A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.3% 0.096 282.8), rgb(66, 64, 122).

Aa

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

About this color

#42407A is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.096 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.032 away. White text reads best on it, at 9.34:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.24:1
White text9.34:1

Values

HEX#42407A
RGBrgb(66, 64, 122)
HSLhsl(242, 31%, 36%)
OKLCHoklch(40.3% 0.096 282.8)

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 #42407A 9.34:1 AAA Lc -95.8 Preferred for body text
Black text on #42407A 2.24:1 Fails Lc 12.5 Not readable
#42407A text on white 9.34:1 AAA Lc 91.5 Preferred for body text
#42407A text on black 2.24:1 Fails Lc -10.9 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 800.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EE

    oklch(88.5% 0.031 283.8)

  4. Step 300

    300

    #BBBDE4

    oklch(81% 0.055 282.8)

  5. Step 400

    400

    #989AD7

    oklch(70.8% 0.089 282.4)

  6. Step 500

    500

    #8080CC

    oklch(63.2% 0.113 282.7)

  7. Step 600

    600

    #6A68B9

    oklch(55.7% 0.123 282.7)

  8. Step 700

    700

    #5856A0

    oklch(49.1% 0.116 282.5)

  9. Step 800

    800 (this color)

    #42407A

    oklch(40.3% 0.096 282.8)

  10. Step 900

    900

    #3C3C68

    oklch(37.8% 0.074 282.3)

  11. Step 950

    950

    #23233D

    oklch(27% 0.048 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#42407A 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)#29497C0.039
Deuteranopia (no green cones)#2645790.039
Tritanopia (no blue cones)#304C570.082
Achromatopsia (no color)#4747470.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #42407A

    #42407A

    oklch(40.3% 0.096 282.8)

  • #514A00

    #514A00

    oklch(40.3% 0.085 103.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42407A

    #42407A

    oklch(40.3% 0.096 282.8)

  • #1D4A7A

    #1D4A7A

    oklch(40.4% 0.095 252.5)

  • #5A376D

    #5A376D

    oklch(40.3% 0.096 312.7)

Open the analogous palette in the generator

Split complementary

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

  • #42407A

    #42407A

    oklch(40.3% 0.096 282.8)

  • #644000

    #644000

    oklch(40.3% 0.086 73.3)

  • #335316

    #335316

    oklch(40.3% 0.096 133)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42407A

    #42407A

    oklch(40.3% 0.096 282.8)

  • #723419

    #723419

    oklch(40.3% 0.096 42.6)

  • #00573A

    #00573A

    oklch(40.4% 0.088 162.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42407A

    #42407A

    oklch(40.3% 0.096 282.8)

  • #732F3A

    #732F3A

    oklch(40.3% 0.096 12.5)

  • #514A00

    #514A00

    oklch(40.3% 0.085 103.3)

  • #005453

    #005453

    oklch(40.3% 0.069 193.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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