#3F1948

Closest named color: Deep Violet (#490648). oklch(29.2% 0.092 319.6), rgb(63, 25, 72).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.44:1
White text14.54:1

Values

HEX#3F1948
RGBrgb(63, 25, 72)
HSLhsl(289, 48%, 19%)
OKLCHoklch(29.2% 0.092 319.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 #3F1948 14.54:1 AAA Lc -103.9 Preferred for body text
Black text on #3F1948 1.44:1 Fails Lc 0.0 Not readable
#3F1948 text on white 14.54:1 AAA Lc 101.0 Preferred for body text
#3F1948 text on black 1.44: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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E4F7

    oklch(93.7% 0.03 320.9)

  3. Step 200

    200

    #EBCDF3

    oklch(88.5% 0.061 319.1)

  4. Step 300

    300

    #E0AAED

    oklch(81% 0.109 319.7)

  5. Step 400

    400

    #CF78E4

    oklch(70.7% 0.175 319.6)

  6. Step 500

    500

    #C14EDB

    oklch(63.1% 0.223 319.8)

  7. Step 600

    600

    #AC26C9

    oklch(55.6% 0.242 319.4)

  8. Step 700

    700

    #9413AE

    oklch(49.2% 0.226 319.5)

  9. Step 800

    800

    #78178D

    oklch(42.7% 0.187 319.4)

  10. Step 900

    900

    #611D70

    oklch(37.7% 0.145 319.8)

  11. Step 950

    950 (this color)

    #3F1948

    oklch(29.2% 0.092 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#3F1948 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)#0E26490.088
Deuteranopia (no green cones)#1C2A470.077
Tritanopia (no blue cones)#3F202D0.058
Achromatopsia (no color)#2929290.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F1948

    #3F1948

    oklch(29.2% 0.092 319.6)

  • #0D3601

    #0D3601

    oklch(29.3% 0.092 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F1948

    #3F1948

    oklch(29.2% 0.092 319.6)

  • #2C2156

    #2C2156

    oklch(29.3% 0.092 289)

  • #4B1333

    #4B1333

    oklch(29.2% 0.092 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #3F1948

    #3F1948

    oklch(29.2% 0.092 319.6)

  • #2E2E00

    #2E2E00

    oklch(29.2% 0.064 109.8)

  • #003527

    #003527

    oklch(29.2% 0.058 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F1948

    #3F1948

    oklch(29.2% 0.092 319.6)

  • #3C2800

    #3C2800

    oklch(29.4% 0.061 79.7)

  • #003335

    #003335

    oklch(29.2% 0.05 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F1948

    #3F1948

    oklch(29.2% 0.092 319.6)

  • #491D00

    #491D00

    oklch(29.1% 0.078 49.4)

  • #0D3601

    #0D3601

    oklch(29.3% 0.092 139.5)

  • #003143

    #003143

    oklch(29.3% 0.058 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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