#333259

Closest named color: Prussian Blue (#1D3557). oklch(33.8% 0.068 283.3), rgb(51, 50, 89).

Aa

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

About this color

#333259 is a dark, muted purple. In OKLCH its lightness is 34%, its chroma 0.068 and its hue 283°. 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.06:1.

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.068)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.74:1
White text12.06:1

Values

HEX#333259
RGBrgb(51, 50, 89)
HSLhsl(242, 28%, 27%)
OKLCHoklch(33.8% 0.068 283.3)

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 #333259 12.06:1 AAA Lc -101.1 Preferred for body text
Black text on #333259 1.74:1 Fails Lc 0.0 Not readable
#333259 text on white 12.06:1 AAA Lc 97.5 Preferred for body text
#333259 text on black 1.74: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

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BBBDE1

    oklch(80.9% 0.051 282.7)

  5. Step 400

    400

    #999AD2

    oklch(70.6% 0.081 283.3)

  6. Step 500

    500

    #8181C6

    oklch(63.2% 0.103 283.1)

  7. Step 600

    600

    #6B69B3

    oklch(55.6% 0.113 283.3)

  8. Step 700

    700

    #59579A

    oklch(49% 0.106 283.1)

  9. Step 800

    800

    #49487D

    oklch(42.8% 0.087 283)

  10. Step 900

    900 (this color)

    #333259

    oklch(33.8% 0.068 283.3)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#333259 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)#25375B0.024
Deuteranopia (no green cones)#2335580.025
Tritanopia (no blue cones)#283A410.059
Achromatopsia (no color)#3636360.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #333259

    #333259

    oklch(33.8% 0.068 283.3)

  • #3E3905

    #3E3905

    oklch(33.9% 0.068 103.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #333259

    #333259

    oklch(33.8% 0.068 283.3)

  • #1C3959

    #1C3959

    oklch(33.9% 0.067 252.4)

  • #442C50

    #442C50

    oklch(33.8% 0.068 313.8)

Open the analogous palette in the generator

Split complementary

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

  • #333259

    #333259

    oklch(33.8% 0.068 283.3)

  • #4C3105

    #4C3105

    oklch(33.8% 0.068 73.5)

  • #293F18

    #293F18

    oklch(33.9% 0.068 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #333259

    #333259

    oklch(33.8% 0.068 283.3)

  • #542B19

    #542B19

    oklch(33.9% 0.067 43.7)

  • #08422D

    #08422D

    oklch(33.8% 0.068 163.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #333259

    #333259

    oklch(33.8% 0.068 283.3)

  • #55272D

    #55272D

    oklch(33.8% 0.068 13.3)

  • #3E3905

    #3E3905

    oklch(33.9% 0.068 103.6)

  • #004140

    #004140

    oklch(33.9% 0.058 193)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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