#3F3478

Closest named color: Dark Slate Blue (#483D8B). oklch(37.5% 0.112 287.2), rgb(63, 52, 120).

Aa

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

About this color

#3F3478 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.112 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.042 away. White text reads best on it, at 10.63:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.97:1
White text10.63:1

Values

HEX#3F3478
RGBrgb(63, 52, 120)
HSLhsl(250, 40%, 34%)
OKLCHoklch(37.5% 0.112 287.2)

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 #3F3478 10.63:1 AAA Lc -98.4 Preferred for body text
Black text on #3F3478 1.97:1 Fails Lc 9.5 Not readable
#3F3478 text on white 10.63:1 AAA Lc 94.4 Preferred for body text
#3F3478 text on black 1.97:1 Fails Lc -8.1 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F7

    oklch(88.4% 0.047 286.8)

  4. Step 300

    300

    #BCB9F5

    oklch(80.9% 0.084 286.6)

  5. Step 400

    400

    #9C92EF

    oklch(70.7% 0.134 287.4)

  6. Step 500

    500

    #8574EA

    oklch(63.1% 0.172 287)

  7. Step 600

    600

    #7159D8

    oklch(55.6% 0.186 287.4)

  8. Step 700

    700

    #5F48BB

    oklch(49.1% 0.173 287.4)

  9. Step 800

    800

    #4D3C98

    oklch(42.7% 0.144 287.1)

  10. Step 900

    900 (this color)

    #3F3478

    oklch(37.5% 0.112 287.2)

  11. Step 950

    950

    #251F47

    oklch(26.9% 0.072 287.4)

Export this scale for Tailwind in the Tailwind colors tool

#3F3478 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)#10407A0.060
Deuteranopia (no green cones)#103C770.059
Tritanopia (no blue cones)#2D43500.094
Achromatopsia (no color)#3E3E3E0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F3478

    #3F3478

    oklch(37.5% 0.112 287.2)

  • #464300

    #464300

    oklch(37.4% 0.08 106.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F3478

    #3F3478

    oklch(37.5% 0.112 287.2)

  • #133F7B

    #133F7B

    oklch(37.4% 0.113 257.5)

  • #582A67

    #582A67

    oklch(37.5% 0.111 317.2)

Open the analogous palette in the generator

Split complementary

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

  • #3F3478

    #3F3478

    oklch(37.5% 0.112 287.2)

  • #583A00

    #583A00

    oklch(37.4% 0.078 76.3)

  • #1F4E03

    #1F4E03

    oklch(37.6% 0.112 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F3478

    #3F3478

    oklch(37.5% 0.112 287.2)

  • #6B2B00

    #6B2B00

    oklch(37.5% 0.104 47.1)

  • #004E38

    #004E38

    oklch(37.6% 0.078 166.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F3478

    #3F3478

    oklch(37.5% 0.112 287.2)

  • #70212B

    #70212B

    oklch(37.5% 0.111 17.1)

  • #464300

    #464300

    oklch(37.4% 0.08 106.8)

  • #004B4D

    #004B4D

    oklch(37.5% 0.064 197.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3F3478 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.