#3F3362

Closest named color: Prussian Blue (#1D3557). oklch(35.8% 0.08 293.7), rgb(63, 51, 98).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.86:1
White text11.28:1

Values

HEX#3F3362
RGBrgb(63, 51, 98)
HSLhsl(255, 32%, 29%)
OKLCHoklch(35.8% 0.08 293.7)

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 #3F3362 11.28:1 AAA Lc -99.7 Preferred for body text
Black text on #3F3362 1.86:1 Fails Lc 8.0 Not readable
#3F3362 text on white 11.28:1 AAA Lc 95.9 Preferred for body text
#3F3362 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

    #F5F4FA

    oklch(97% 0.008 293.9)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C2BAE4

    oklch(80.9% 0.059 293.8)

  5. Step 400

    400

    #A395D7

    oklch(70.7% 0.096 293.5)

  6. Step 500

    500

    #8E7ACC

    oklch(63.2% 0.122 293.8)

  7. Step 600

    600

    #7861B9

    oklch(55.5% 0.134 293.6)

  8. Step 700

    700

    #65509F

    oklch(49% 0.123 293.6)

  9. Step 800

    800

    #534281

    oklch(42.8% 0.102 294.1)

  10. Step 900

    900 (this color)

    #3F3362

    oklch(35.8% 0.08 293.7)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#3F3362 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)#243B640.044
Deuteranopia (no green cones)#253A610.043
Tritanopia (no blue cones)#373C450.066
Achromatopsia (no color)#3B3B3B0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F3362

    #3F3362

    oklch(35.8% 0.08 293.7)

  • #3C4100

    #3C4100

    oklch(35.8% 0.081 114.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F3362

    #3F3362

    oklch(35.8% 0.08 293.7)

  • #263B66

    #263B66

    oklch(35.8% 0.08 263.3)

  • #502D54

    #502D54

    oklch(35.8% 0.079 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #3F3362

    #3F3362

    oklch(35.8% 0.08 293.7)

  • #4F3800

    #4F3800

    oklch(35.7% 0.073 82.8)

  • #1F471F

    #1F471F

    oklch(35.8% 0.08 143.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F3362

    #3F3362

    oklch(35.8% 0.08 293.7)

  • #5C2F0C

    #5C2F0C

    oklch(35.8% 0.08 53.7)

  • #004839

    #004839

    oklch(35.8% 0.069 172.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F3362

    #3F3362

    oklch(35.8% 0.08 293.7)

  • #602927

    #602927

    oklch(35.8% 0.081 24.1)

  • #3C4100

    #3C4100

    oklch(35.8% 0.081 114.6)

  • #00454B

    #00454B

    oklch(35.6% 0.061 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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