#403262

Closest named color: Prussian Blue (#1D3557). oklch(35.6% 0.082 295.4), rgb(64, 50, 98).

Aa

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

About this color

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

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

Values

HEX#403262
RGBrgb(64, 50, 98)
HSLhsl(258, 32%, 29%)
OKLCHoklch(35.6% 0.082 295.4)

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 #403262 11.34:1 AAA Lc -99.8 Preferred for body text
Black text on #403262 1.85:1 Fails Lc 7.8 Not readable
#403262 text on white 11.34:1 AAA Lc 96.1 Preferred for body text
#403262 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  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

    #C3B9E5

    oklch(80.9% 0.062 295.4)

  5. Step 400

    400

    #A594D7

    oklch(70.6% 0.098 295.4)

  6. Step 500

    500

    #9078CD

    oklch(63.1% 0.127 295.5)

  7. Step 600

    600

    #7B60BA

    oklch(55.7% 0.137 295.4)

  8. Step 700

    700

    #674FA0

    oklch(49.1% 0.127 295)

  9. Step 800

    800

    #544182

    oklch(42.7% 0.105 295)

  10. Step 900

    900 (this color)

    #403262

    oklch(35.6% 0.082 295.4)

  11. Step 950

    950

    #29213D

    oklch(27.1% 0.052 295.9)

Export this scale for Tailwind in the Tailwind colors tool

#403262 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)#223B640.049
Deuteranopia (no green cones)#2539610.045
Tritanopia (no blue cones)#383B450.066
Achromatopsia (no color)#3A3A3A0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #403262

    #403262

    oklch(35.6% 0.082 295.4)

  • #3B4100

    #3B4100

    oklch(35.7% 0.081 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403262

    #403262

    oklch(35.6% 0.082 295.4)

  • #273A67

    #273A67

    oklch(35.7% 0.082 265.2)

  • #512B53

    #512B53

    oklch(35.5% 0.082 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #403262

    #403262

    oklch(35.6% 0.082 295.4)

  • #4D3900

    #4D3900

    oklch(35.7% 0.073 86.5)

  • #1B4720

    #1B4720

    oklch(35.6% 0.081 145.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403262

    #403262

    oklch(35.6% 0.082 295.4)

  • #5C2F07

    #5C2F07

    oklch(35.7% 0.082 55.8)

  • #00473A

    #00473A

    oklch(35.5% 0.067 175.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403262

    #403262

    oklch(35.6% 0.082 295.4)

  • #602825

    #602825

    oklch(35.6% 0.082 25.2)

  • #3B4100

    #3B4100

    oklch(35.7% 0.081 115.5)

  • #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 #403262, closest first.

Similar named colors

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

Use #403262 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.