#3F3168

Closest named color: Prussian Blue (#1D3557). oklch(35.7% 0.093 292.8), rgb(63, 49, 104).

Aa

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

About this color

#3F3168 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.093 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.062 away. White text reads best on it, at 11.34:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.85:1
White text11.34:1

Values

HEX#3F3168
RGBrgb(63, 49, 104)
HSLhsl(255, 36%, 30%)
OKLCHoklch(35.7% 0.093 292.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 #3F3168 11.34:1 AAA Lc -99.8 Preferred for body text
Black text on #3F3168 1.85:1 Fails Lc 7.9 Not readable
#3F3168 text on white 11.34:1 AAA Lc 96.0 Preferred for body text
#3F3168 text on black 1.85: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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F1

    oklch(88.5% 0.038 292.2)

  4. Step 300

    300

    #C2B9EA

    oklch(81% 0.069 293.2)

  5. Step 400

    400

    #A393E0

    oklch(70.7% 0.112 292.9)

  6. Step 500

    500

    #8D77D7

    oklch(63.1% 0.142 292.4)

  7. Step 600

    600

    #785DC4

    oklch(55.5% 0.155 292.7)

  8. Step 700

    700

    #664CA9

    oklch(49.1% 0.143 293.3)

  9. Step 800

    800

    #533F89

    oklch(42.7% 0.119 293.2)

  10. Step 900

    900 (this color)

    #3F3168

    oklch(35.7% 0.093 292.8)

  11. Step 950

    950

    #282040

    oklch(27% 0.059 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#3F3168 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)#1C3B6A0.054
Deuteranopia (no green cones)#1E39670.051
Tritanopia (no blue cones)#353C470.076
Achromatopsia (no color)#3A3A3A0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F3168

    #3F3168

    oklch(35.7% 0.093 292.8)

  • #3D4000

    #3D4000

    oklch(35.7% 0.079 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F3168

    #3F3168

    oklch(35.7% 0.093 292.8)

  • #213A6C

    #213A6C

    oklch(35.7% 0.092 262.6)

  • #532958

    #532958

    oklch(35.7% 0.093 323.2)

Open the analogous palette in the generator

Split complementary

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

  • #3F3168

    #3F3168

    oklch(35.7% 0.093 292.8)

  • #4F3800

    #4F3800

    oklch(35.7% 0.073 82.8)

  • #194818

    #194818

    oklch(35.7% 0.092 143)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F3168

    #3F3168

    oklch(35.7% 0.093 292.8)

  • #602C00

    #602C00

    oklch(35.8% 0.091 52.9)

  • #004839

    #004839

    oklch(35.8% 0.069 172.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F3168

    #3F3168

    oklch(35.7% 0.093 292.8)

  • #642525

    #642525

    oklch(35.8% 0.092 22.9)

  • #3D4000

    #3D4000

    oklch(35.7% 0.079 112.7)

  • #00464A

    #00464A

    oklch(35.9% 0.061 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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