#38315D

Closest named color: Prussian Blue (#1D3557). oklch(34.3% 0.075 289.1), rgb(56, 49, 93).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.76:1
White text11.89:1

Values

HEX#38315D
RGBrgb(56, 49, 93)
HSLhsl(250, 31%, 28%)
OKLCHoklch(34.3% 0.075 289.1)

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 #38315D 11.89:1 AAA Lc -100.8 Preferred for body text
Black text on #38315D 1.76:1 Fails Lc 0.0 Not readable
#38315D text on white 11.89:1 AAA Lc 97.2 Preferred for body text
#38315D text on black 1.76: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

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #BFBBE4

    oklch(80.9% 0.057 289.5)

  5. Step 400

    400

    #9F97D6

    oklch(70.7% 0.091 289.7)

  6. Step 500

    500

    #887DCB

    oklch(63.2% 0.116 289.1)

  7. Step 600

    600

    #7265B8

    oklch(55.7% 0.126 288.8)

  8. Step 700

    700

    #60539E

    oklch(49.1% 0.117 289.3)

  9. Step 800

    800

    #4E4480

    oklch(42.6% 0.097 289.3)

  10. Step 900

    900 (this color)

    #38315D

    oklch(34.3% 0.075 289.1)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#38315D 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)#22385F0.036
Deuteranopia (no green cones)#22365C0.035
Tritanopia (no blue cones)#2E3A420.064
Achromatopsia (no color)#3737370.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #38315D

    #38315D

    oklch(34.3% 0.075 289.1)

  • #3C3B00

    #3C3B00

    oklch(34.2% 0.074 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38315D

    #38315D

    oklch(34.3% 0.075 289.1)

  • #1F385F

    #1F385F

    oklch(34.2% 0.076 259)

  • #492B51

    #492B51

    oklch(34.3% 0.074 319)

Open the analogous palette in the generator

Split complementary

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

  • #38315D

    #38315D

    oklch(34.3% 0.075 289.1)

  • #4C3300

    #4C3300

    oklch(34.2% 0.071 78.6)

  • #224219

    #224219

    oklch(34.3% 0.077 139.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38315D

    #38315D

    oklch(34.3% 0.075 289.1)

  • #572B10

    #572B10

    oklch(34.3% 0.075 49.3)

  • #004433

    #004433

    oklch(34.4% 0.068 169.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38315D

    #38315D

    oklch(34.3% 0.075 289.1)

  • #5A2629

    #5A2629

    oklch(34.3% 0.077 18.5)

  • #3C3B00

    #3C3B00

    oklch(34.2% 0.074 108.7)

  • #004244

    #004244

    oklch(34.4% 0.059 198.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38315D 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.