#403564

Closest named color: Prussian Blue (#1D3557). oklch(36.4% 0.08 292.8), rgb(64, 53, 100).

Aa

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

About this color

#403564 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.080 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.059 away. White text reads best on it, at 10.98:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.91:1
White text10.98:1

Values

HEX#403564
RGBrgb(64, 53, 100)
HSLhsl(254, 31%, 30%)
OKLCHoklch(36.4% 0.08 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 #403564 10.98:1 AAA Lc -99.2 Preferred for body text
Black text on #403564 1.91:1 Fails Lc 8.6 Not readable
#403564 text on white 10.98:1 AAA Lc 95.3 Preferred for body text
#403564 text on black 1.91:1 Fails Lc -7.3 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C1BAE5

    oklch(80.9% 0.06 292.5)

  5. Step 400

    400

    #A295D7

    oklch(70.6% 0.096 292.8)

  6. Step 500

    500

    #8C7ACC

    oklch(63% 0.122 292.6)

  7. Step 600

    600

    #7762B9

    oklch(55.6% 0.132 292.7)

  8. Step 700

    700

    #6450A0

    oklch(49% 0.125 292.7)

  9. Step 800

    800

    #524281

    oklch(42.7% 0.102 293.3)

  10. Step 900

    900 (this color)

    #403564

    oklch(36.4% 0.08 292.8)

  11. Step 950

    950

    #27213D

    oklch(26.9% 0.051 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#403564 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)#263D660.043
Deuteranopia (no green cones)#273B630.041
Tritanopia (no blue cones)#373E470.066
Achromatopsia (no color)#3C3C3C0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #403564

    #403564

    oklch(36.4% 0.08 292.8)

  • #3F4202

    #3F4202

    oklch(36.4% 0.08 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403564

    #403564

    oklch(36.4% 0.08 292.8)

  • #273D68

    #273D68

    oklch(36.5% 0.08 262.6)

  • #522E56

    #522E56

    oklch(36.3% 0.08 323.4)

Open the analogous palette in the generator

Split complementary

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

  • #403564

    #403564

    oklch(36.4% 0.08 292.8)

  • #513A00

    #513A00

    oklch(36.5% 0.075 83.5)

  • #224820

    #224820

    oklch(36.2% 0.079 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403564

    #403564

    oklch(36.4% 0.08 292.8)

  • #5E300F

    #5E300F

    oklch(36.3% 0.08 52.3)

  • #004A3A

    #004A3A

    oklch(36.4% 0.071 172.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403564

    #403564

    oklch(36.4% 0.08 292.8)

  • #612B2A

    #612B2A

    oklch(36.3% 0.079 22.8)

  • #3F4202

    #3F4202

    oklch(36.4% 0.08 112.7)

  • #00474C

    #00474C

    oklch(36.2% 0.062 202.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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