#333155

Closest named color: Prussian Blue (#1D3557). oklch(33.3% 0.063 285), rgb(51, 49, 85).

Aa

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

About this color

#333155 is a dark, muted purple. In OKLCH its lightness is 33%, its chroma 0.063 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.032 away. White text reads best on it, at 12.27:1.

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.063)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.71:1
White text12.27:1

Values

HEX#333155
RGBrgb(51, 49, 85)
HSLhsl(243, 27%, 26%)
OKLCHoklch(33.3% 0.063 285)

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 #333155 12.27:1 AAA Lc -101.4 Preferred for body text
Black text on #333155 1.71:1 Fails Lc 0.0 Not readable
#333155 text on white 12.27:1 AAA Lc 97.9 Preferred for body text
#333155 text on black 1.71: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D7D7EA

    oklch(88.5% 0.026 285.9)

  4. Step 300

    300

    #BDBDDE

    oklch(80.9% 0.046 285.3)

  5. Step 400

    400

    #9B9ACE

    oklch(70.6% 0.076 285.2)

  6. Step 500

    500

    #8381C1

    oklch(63.1% 0.095 284.7)

  7. Step 600

    600

    #6D6AAE

    oklch(55.7% 0.104 284.5)

  8. Step 700

    700

    #5B5895

    oklch(49.1% 0.096 284.5)

  9. Step 800

    800

    #4B4879

    oklch(42.7% 0.08 285.3)

  10. Step 900

    900 (this color)

    #333155

    oklch(33.3% 0.063 285)

  11. Step 950

    950

    #242439

    oklch(27.1% 0.039 283.5)

Export this scale for Tailwind in the Tailwind colors tool

#333155 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)#2536560.024
Deuteranopia (no green cones)#2434540.024
Tritanopia (no blue cones)#2A383F0.053
Achromatopsia (no color)#3535350.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #333155

    #333155

    oklch(33.3% 0.063 285)

  • #3B380A

    #3B380A

    oklch(33.4% 0.063 105.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333155

    #333155

    oklch(33.3% 0.063 285)

  • #1F3756

    #1F3756

    oklch(33.3% 0.063 255.4)

  • #422C4C

    #422C4C

    oklch(33.3% 0.061 314.8)

Open the analogous palette in the generator

Split complementary

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

  • #333155

    #333155

    oklch(33.3% 0.063 285)

  • #49310A

    #49310A

    oklch(33.4% 0.063 74.9)

  • #283D1B

    #283D1B

    oklch(33.3% 0.062 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333155

    #333155

    oklch(33.3% 0.063 285)

  • #502B19

    #502B19

    oklch(33.3% 0.062 45.9)

  • #0C402E

    #0C402E

    oklch(33.3% 0.062 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333155

    #333155

    oklch(33.3% 0.063 285)

  • #52282C

    #52282C

    oklch(33.5% 0.063 15)

  • #3B380A

    #3B380A

    oklch(33.4% 0.063 105.6)

  • #003F3F

    #003F3F

    oklch(33.3% 0.057 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 #333155, closest first.

Similar named colors

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

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