#38285F

Closest named color: Prussian Blue (#1D3557). oklch(32.6% 0.094 294), rgb(56, 40, 95).

Aa

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

About this color

#38285F is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.094 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.057 away. White text reads best on it, at 12.82:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.63:1
White text12.82:1

Values

HEX#38285F
RGBrgb(56, 40, 95)
HSLhsl(257, 41%, 26%)
OKLCHoklch(32.6% 0.094 294)

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 #38285F 12.82:1 AAA Lc -102.1 Preferred for body text
Black text on #38285F 1.63:1 Fails Lc 0.0 Not readable
#38285F text on white 12.82:1 AAA Lc 98.8 Preferred for body text
#38285F text on black 1.63: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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #DAD5F1

    oklch(88.6% 0.038 293.8)

  4. Step 300

    300

    #C2B8EA

    oklch(80.8% 0.071 293.9)

  5. Step 400

    400

    #A492E0

    oklch(70.6% 0.113 293.9)

  6. Step 500

    500

    #8F76D7

    oklch(63.1% 0.143 293.8)

  7. Step 600

    600

    #7A5CC5

    oklch(55.6% 0.158 293.8)

  8. Step 700

    700

    #674BAA

    oklch(49.1% 0.146 293.9)

  9. Step 800

    800

    #543E8A

    oklch(42.7% 0.122 294)

  10. Step 900

    900 (this color)

    #38285F

    oklch(32.6% 0.094 294)

  11. Step 950

    950

    #282040

    oklch(27% 0.059 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#38285F 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)#0F33610.060
Deuteranopia (no green cones)#13315E0.056
Tritanopia (no blue cones)#2E333F0.075
Achromatopsia (no color)#3232320.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #38285F

    #38285F

    oklch(32.6% 0.094 294)

  • #343800

    #343800

    oklch(32.6% 0.073 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38285F

    #38285F

    oklch(32.6% 0.094 294)

  • #1B3164

    #1B3164

    oklch(32.6% 0.094 264.3)

  • #4B204F

    #4B204F

    oklch(32.6% 0.095 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #38285F

    #38285F

    oklch(32.6% 0.094 294)

  • #443100

    #443100

    oklch(32.6% 0.067 84.9)

  • #0C400F

    #0C400F

    oklch(32.6% 0.094 143.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38285F

    #38285F

    oklch(32.6% 0.094 294)

  • #532600

    #532600

    oklch(32.5% 0.082 53.9)

  • #003E32

    #003E32

    oklch(32.5% 0.061 174.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38285F

    #38285F

    oklch(32.6% 0.094 294)

  • #5B1B1B

    #5B1B1B

    oklch(32.5% 0.094 24)

  • #343800

    #343800

    oklch(32.6% 0.073 114.1)

  • #003C41

    #003C41

    oklch(32.5% 0.055 204)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38285F 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.