#34315E

Closest named color: Prussian Blue (#1D3557). oklch(34% 0.077 284.5), rgb(52, 49, 94).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.74:1
White text12.02:1

Values

HEX#34315E
RGBrgb(52, 49, 94)
HSLhsl(244, 31%, 28%)
OKLCHoklch(34% 0.077 284.5)

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 #34315E 12.02:1 AAA Lc -101.0 Preferred for body text
Black text on #34315E 1.74:1 Fails Lc 0.0 Not readable
#34315E text on white 12.02:1 AAA Lc 97.4 Preferred for body text
#34315E 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EE

    oklch(88.5% 0.031 283.8)

  4. Step 300

    300

    #BCBCE5

    oklch(80.9% 0.058 285)

  5. Step 400

    400

    #9A99D9

    oklch(70.8% 0.093 284.5)

  6. Step 500

    500

    #827ECE

    oklch(63% 0.119 284.7)

  7. Step 600

    600

    #6C66BB

    oklch(55.5% 0.129 284.6)

  8. Step 700

    700

    #5A55A1

    oklch(49.1% 0.119 284.1)

  9. Step 800

    800

    #4A4683

    oklch(42.8% 0.099 284.4)

  10. Step 900

    900 (this color)

    #34315E

    oklch(34% 0.077 284.5)

  11. Step 950

    950

    #24233D

    oklch(27.1% 0.048 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#34315E 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)#2038600.033
Deuteranopia (no green cones)#1F355D0.032
Tritanopia (no blue cones)#273A430.066
Achromatopsia (no color)#3636360.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #34315E

    #34315E

    oklch(34% 0.077 284.5)

  • #3E3900

    #3E3900

    oklch(33.9% 0.072 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34315E

    #34315E

    oklch(34% 0.077 284.5)

  • #19395F

    #19395F

    oklch(34.1% 0.077 254.2)

  • #462A53

    #462A53

    oklch(33.8% 0.077 314.3)

Open the analogous palette in the generator

Split complementary

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

  • #34315E

    #34315E

    oklch(34% 0.077 284.5)

  • #4D3100

    #4D3100

    oklch(33.9% 0.072 74.4)

  • #264013

    #264013

    oklch(33.9% 0.077 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34315E

    #34315E

    oklch(34% 0.077 284.5)

  • #582912

    #582912

    oklch(34.1% 0.077 44.9)

  • #00432E

    #00432E

    oklch(33.9% 0.072 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34315E

    #34315E

    oklch(34% 0.077 284.5)

  • #59252B

    #59252B

    oklch(34% 0.077 15)

  • #3E3900

    #3E3900

    oklch(33.9% 0.072 104.1)

  • #004141

    #004141

    oklch(34% 0.058 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 #34315E, closest first.

Similar named colors

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

Use #34315E 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.