#3F1F4A

Closest named color: Deep Violet (#490648). oklch(30.4% 0.083 316.8), rgb(63, 31, 74).

Aa

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

About this color

#3F1F4A is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.083 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.048 away. White text reads best on it, at 13.94:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.50:1
White text13.94:1

Values

HEX#3F1F4A
RGBrgb(63, 31, 74)
HSLhsl(285, 41%, 21%)
OKLCHoklch(30.4% 0.083 316.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 #3F1F4A 13.94:1 AAA Lc -103.4 Preferred for body text
Black text on #3F1F4A 1.50:1 Fails Lc 0.0 Not readable
#3F1F4A text on white 13.94:1 AAA Lc 100.3 Preferred for body text
#3F1F4A text on black 1.50: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 950.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CFF2

    oklch(88.6% 0.054 316.3)

  4. Step 300

    300

    #DBADEB

    oklch(80.9% 0.099 317.2)

  5. Step 400

    400

    #C77EE1

    oklch(70.6% 0.158 316.7)

  6. Step 500

    500

    #B859D8

    oklch(63.1% 0.201 316.8)

  7. Step 600

    600

    #A437C6

    oklch(55.6% 0.22 316.8)

  8. Step 700

    700

    #8C28AB

    oklch(49.1% 0.204 316.7)

  9. Step 800

    800

    #72248A

    oklch(42.7% 0.168 317)

  10. Step 900

    900

    #5C246F

    oklch(37.7% 0.132 316.5)

  11. Step 950

    950 (this color)

    #3F1F4A

    oklch(30.4% 0.083 316.8)

Export this scale for Tailwind in the Tailwind colors tool

#3F1F4A 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)#162A4B0.075
Deuteranopia (no green cones)#202D490.066
Tritanopia (no blue cones)#3F26310.055
Achromatopsia (no color)#2C2C2C0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F1F4A

    #3F1F4A

    oklch(30.4% 0.083 316.8)

  • #183806

    #183806

    oklch(30.5% 0.084 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F1F4A

    #3F1F4A

    oklch(30.4% 0.083 316.8)

  • #2D2656

    #2D2656

    oklch(30.4% 0.084 287)

  • #4B1A37

    #4B1A37

    oklch(30.4% 0.083 346.6)

Open the analogous palette in the generator

Split complementary

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

  • #3F1F4A

    #3F1F4A

    oklch(30.4% 0.083 316.8)

  • #333000

    #333000

    oklch(30.3% 0.064 105.9)

  • #003828

    #003828

    oklch(30.2% 0.062 167.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F1F4A

    #3F1F4A

    oklch(30.4% 0.083 316.8)

  • #402A00

    #402A00

    oklch(30.4% 0.063 78)

  • #003638

    #003638

    oklch(30.2% 0.051 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F1F4A

    #3F1F4A

    oklch(30.4% 0.083 316.8)

  • #4F1E01

    #4F1E01

    oklch(30.4% 0.083 46.6)

  • #183806

    #183806

    oklch(30.5% 0.084 136.9)

  • #003445

    #003445

    oklch(30.3% 0.058 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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