#42378F

Closest named color: Dark Slate Blue (#483D8B). oklch(40.1% 0.14 283.8), rgb(66, 55, 143).

Aa

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

About this color

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

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

Values

HEX#42378F
RGBrgb(66, 55, 143)
HSLhsl(248, 44%, 39%)
OKLCHoklch(40.1% 0.14 283.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 #42378F 9.65:1 AAA Lc -96.3 Preferred for body text
Black text on #42378F 2.17:1 Fails Lc 11.9 Not readable
#42378F text on white 9.65:1 AAA Lc 92.0 Preferred for body text
#42378F text on black 2.17:1 Fails Lc -10.4 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FE

    oklch(93.7% 0.03 283.7)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300

    #B8B8FF

    oklch(80.8% 0.1 283.9)

  5. Step 400

    400

    #9690FF

    oklch(70.7% 0.159 284)

  6. Step 500

    500

    #7F6FFF

    oklch(63.1% 0.206 283.8)

  7. Step 600

    600

    #6B4EF3

    oklch(55.5% 0.233 283.8)

  8. Step 700

    700

    #5A3DD4

    oklch(49.1% 0.217 283.8)

  9. Step 800

    800

    #4934AB

    oklch(42.6% 0.18 283.8)

  10. Step 900

    900 (this color)

    #42378F

    oklch(40.1% 0.14 283.8)

  11. Step 950

    950

    #231D4F

    oklch(27% 0.088 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#42378F 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)#0047920.067
Deuteranopia (no green cones)#00428D0.066
Tritanopia (no blue cones)#224C5D0.119
Achromatopsia (no color)#4545450.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #42378F

    #42378F

    oklch(40.1% 0.14 283.8)

  • #504A00

    #504A00

    oklch(40.2% 0.085 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42378F

    #42378F

    oklch(40.1% 0.14 283.8)

  • #00478A

    #00478A

    oklch(40.1% 0.128 254)

  • #62297B

    #62297B

    oklch(40% 0.14 313.9)

Open the analogous palette in the generator

Split complementary

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

  • #42378F

    #42378F

    oklch(40.1% 0.14 283.8)

  • #634000

    #634000

    oklch(40.2% 0.085 74.1)

  • #2C5400

    #2C5400

    oklch(40% 0.114 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42378F

    #42378F

    oklch(40.1% 0.14 283.8)

  • #792D00

    #792D00

    oklch(40.2% 0.117 44)

  • #00563B

    #00563B

    oklch(40.1% 0.086 163.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42378F

    #42378F

    oklch(40.1% 0.14 283.8)

  • #821831

    #821831

    oklch(40.1% 0.14 13.5)

  • #504A00

    #504A00

    oklch(40.2% 0.085 104.3)

  • #005353

    #005353

    oklch(40% 0.068 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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