#3F1AA2

Closest named color: Imperial Purple (#480CA8). oklch(37.6% 0.196 284.3), rgb(63, 26, 162).

Aa

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

About this color

#3F1AA2 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.196 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Imperial Purple (#480CA8), ΔE 0.021 away. White text reads best on it, at 11.16:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.196)
Temperaturecool
Nearest nameImperial Purple (#480CA8)
Black text1.88:1
White text11.16:1

Values

HEX#3F1AA2
RGBrgb(63, 26, 162)
HSLhsl(256, 72%, 37%)
OKLCHoklch(37.6% 0.196 284.3)

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 #3F1AA2 11.16:1 AAA Lc -98.5 Preferred for body text
Black text on #3F1AA2 1.88:1 Fails Lc 9.4 Not readable
#3F1AA2 text on white 11.16:1 AAA Lc 94.5 Preferred for body text
#3F1AA2 text on black 1.88: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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FF

    oklch(93.7% 0.031 283.8)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500

    #806EFF

    oklch(63% 0.207 284.4)

  7. Step 600

    600

    #6D45FF

    oklch(55.6% 0.256 284.2)

  8. Step 700

    700

    #6000F8

    oklch(49.1% 0.288 284.4)

  9. Step 800

    800

    #4E00CE

    oklch(42.6% 0.25 284.2)

  10. Step 900

    900 (this color)

    #3F1AA2

    oklch(37.6% 0.196 284.3)

  11. Step 950

    950

    #24145F

    oklch(27.1% 0.124 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#3F1AA2 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)#003FA60.084
Deuteranopia (no green cones)#0037A00.075
Tritanopia (no blue cones)#0045600.160
Achromatopsia (no color)#3B3B3B0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F1AA2

    #3F1AA2

    oklch(37.6% 0.196 284.3)

  • #484300

    #484300

    oklch(37.6% 0.08 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F1AA2

    #3F1AA2

    oklch(37.6% 0.196 284.3)

  • #00407F

    #00407F

    oklch(37.6% 0.121 254.4)

  • #630083

    #630083

    oklch(37.6% 0.186 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #3F1AA2

    #3F1AA2

    oklch(37.6% 0.196 284.3)

  • #5A3A00

    #5A3A00

    oklch(37.7% 0.08 74.4)

  • #264D00

    #264D00

    oklch(37.6% 0.109 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F1AA2

    #3F1AA2

    oklch(37.6% 0.196 284.3)

  • #6E2900

    #6E2900

    oklch(37.7% 0.109 44.5)

  • #004E36

    #004E36

    oklch(37.5% 0.079 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F1AA2

    #3F1AA2

    oklch(37.6% 0.196 284.3)

  • #7E0027

    #7E0027

    oklch(37.7% 0.151 14.7)

  • #484300

    #484300

    oklch(37.6% 0.08 104.8)

  • #004C4C

    #004C4C

    oklch(37.7% 0.064 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 #3F1AA2, closest first.

Similar named colors

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

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