#3A366A

Closest named color: Prussian Blue (#1D3557). oklch(36.4% 0.088 284.7), rgb(58, 54, 106).

Aa

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

About this color

#3A366A is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.088 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.055 away. White text reads best on it, at 10.96:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.91:1
White text10.96:1

Values

HEX#3A366A
RGBrgb(58, 54, 106)
HSLhsl(245, 33%, 31%)
OKLCHoklch(36.4% 0.088 284.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 #3A366A 10.96:1 AAA Lc -99.1 Preferred for body text
Black text on #3A366A 1.91:1 Fails Lc 8.7 Not readable
#3A366A text on white 10.96:1 AAA Lc 95.2 Preferred for body text
#3A366A text on black 1.91:1 Fails Lc -7.4 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F1

    oklch(88.4% 0.037 285.6)

  4. Step 300

    300

    #BBBBEA

    oklch(80.8% 0.066 284.8)

  5. Step 400

    400

    #9997E0

    oklch(70.6% 0.106 284.6)

  6. Step 500

    500

    #827CD7

    oklch(63.2% 0.134 284.9)

  7. Step 600

    600

    #6C63C4

    oklch(55.5% 0.146 284.8)

  8. Step 700

    700

    #5A52A9

    oklch(49.1% 0.135 284.4)

  9. Step 800

    800

    #4A4389

    oklch(42.6% 0.113 285.1)

  10. Step 900

    900 (this color)

    #3A366A

    oklch(36.4% 0.088 284.7)

  11. Step 950

    950

    #242240

    oklch(27% 0.055 285.1)

Export this scale for Tailwind in the Tailwind colors tool

#3A366A 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)#223E6C0.038
Deuteranopia (no green cones)#203B690.037
Tritanopia (no blue cones)#2B414B0.075
Achromatopsia (no color)#3C3C3C0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A366A

    #3A366A

    oklch(36.4% 0.088 284.7)

  • #454000

    #454000

    oklch(36.5% 0.077 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A366A

    #3A366A

    oklch(36.4% 0.088 284.7)

  • #1A3F6B

    #1A3F6B

    oklch(36.5% 0.087 254.5)

  • #4F2E5E

    #4F2E5E

    oklch(36.4% 0.088 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A366A

    #3A366A

    oklch(36.4% 0.088 284.7)

  • #563700

    #563700

    oklch(36.5% 0.077 74.1)

  • #294813

    #294813

    oklch(36.5% 0.088 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A366A

    #3A366A

    oklch(36.4% 0.088 284.7)

  • #632C11

    #632C11

    oklch(36.4% 0.088 44.3)

  • #004B34

    #004B34

    oklch(36.6% 0.077 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A366A

    #3A366A

    oklch(36.4% 0.088 284.7)

  • #64282F

    #64282F

    oklch(36.5% 0.087 15.3)

  • #454000

    #454000

    oklch(36.5% 0.077 104.6)

  • #004848

    #004848

    oklch(36.4% 0.062 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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