#3F316C

Closest named color: Dark Slate Blue (#483D8B). oklch(36% 0.099 291.6), rgb(63, 49, 108).

Aa

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

About this color

#3F316C is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.099 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.061 away. White text reads best on it, at 11.24:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.86:1
White text11.24:1

Values

HEX#3F316C
RGBrgb(63, 49, 108)
HSLhsl(254, 38%, 31%)
OKLCHoklch(36% 0.099 291.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 #3F316C 11.24:1 AAA Lc -99.6 Preferred for body text
Black text on #3F316C 1.86:1 Fails Lc 8.1 Not readable
#3F316C text on white 11.24:1 AAA Lc 95.8 Preferred for body text
#3F316C text on black 1.86: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F3

    oklch(88.5% 0.041 291.7)

  4. Step 300

    300

    #C1B9ED

    oklch(81% 0.073 291.7)

  5. Step 400

    400

    #A293E4

    oklch(70.8% 0.117 291.6)

  6. Step 500

    500

    #8C75DD

    oklch(63% 0.153 291.6)

  7. Step 600

    600

    #775CCA

    oklch(55.6% 0.164 291.5)

  8. Step 700

    700

    #644BAF

    oklch(49.1% 0.153 291.3)

  9. Step 800

    800

    #523E8D

    oklch(42.7% 0.126 291.9)

  10. Step 900

    900 (this color)

    #3F316C

    oklch(36% 0.099 291.6)

  11. Step 950

    950

    #272042

    oklch(27% 0.062 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#3F316C 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)#183C6E0.057
Deuteranopia (no green cones)#1A3A6B0.055
Tritanopia (no blue cones)#333D490.081
Achromatopsia (no color)#3B3B3B0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F316C

    #3F316C

    oklch(36% 0.099 291.6)

  • #3F4100

    #3F4100

    oklch(36.1% 0.08 111.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F316C

    #3F316C

    oklch(36% 0.099 291.6)

  • #1E3B70

    #1E3B70

    oklch(36% 0.098 261.3)

  • #54295C

    #54295C

    oklch(36.1% 0.098 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #3F316C

    #3F316C

    oklch(36% 0.099 291.6)

  • #513800

    #513800

    oklch(36% 0.074 80.6)

  • #194913

    #194913

    oklch(35.9% 0.098 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F316C

    #3F316C

    oklch(36% 0.099 291.6)

  • #622C00

    #622C00

    oklch(36.1% 0.093 51.9)

  • #004939

    #004939

    oklch(36.1% 0.07 171.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F316C

    #3F316C

    oklch(36% 0.099 291.6)

  • #672325

    #672325

    oklch(36% 0.098 21.7)

  • #3F4100

    #3F4100

    oklch(36.1% 0.08 111.7)

  • #00464B

    #00464B

    oklch(35.9% 0.061 202.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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