#382F7D

Closest named color: Dark Slate Blue (#483D8B). oklch(36.3% 0.127 283.3), rgb(56, 47, 125).

Aa

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

About this color

#382F7D is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.127 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.052 away. White text reads best on it, at 11.22:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text1.87:1
White text11.22:1

Values

HEX#382F7D
RGBrgb(56, 47, 125)
HSLhsl(247, 45%, 34%)
OKLCHoklch(36.3% 0.127 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 #382F7D 11.22:1 AAA Lc -99.4 Preferred for body text
Black text on #382F7D 1.87:1 Fails Lc 8.3 Not readable
#382F7D text on white 11.22:1 AAA Lc 95.6 Preferred for body text
#382F7D text on black 1.87: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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D4D5FC

    oklch(88.5% 0.053 284.1)

  4. Step 300

    300

    #B8B9FD

    oklch(80.9% 0.096 283.4)

  5. Step 400

    400

    #9591FC

    oklch(70.6% 0.154 283.4)

  6. Step 500

    500

    #7E72F9

    oklch(63.1% 0.195 283.3)

  7. Step 600

    600

    #6955E8

    oklch(55.5% 0.212 283.2)

  8. Step 700

    700

    #5844CA

    oklch(49% 0.198 283.1)

  9. Step 800

    800

    #4839A3

    oklch(42.6% 0.163 283.5)

  10. Step 900

    900 (this color)

    #382F7D

    oklch(36.3% 0.127 283.3)

  11. Step 950

    950

    #221F4C

    oklch(27% 0.081 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#382F7D 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)#003D800.060
Deuteranopia (no green cones)#00387B0.058
Tritanopia (no blue cones)#1B41510.107
Achromatopsia (no color)#3B3B3B0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #382F7D

    #382F7D

    oklch(36.3% 0.127 283.3)

  • #453F00

    #453F00

    oklch(36.2% 0.076 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382F7D

    #382F7D

    oklch(36.3% 0.127 283.3)

  • #003D77

    #003D77

    oklch(36.2% 0.114 253.6)

  • #55236C

    #55236C

    oklch(36.4% 0.127 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #382F7D

    #382F7D

    oklch(36.3% 0.127 283.3)

  • #563600

    #563600

    oklch(36.2% 0.077 72.7)

  • #264900

    #264900

    oklch(36.4% 0.104 133.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382F7D

    #382F7D

    oklch(36.3% 0.127 283.3)

  • #692500

    #692500

    oklch(36.2% 0.107 43.3)

  • #004A32

    #004A32

    oklch(36.2% 0.078 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382F7D

    #382F7D

    oklch(36.3% 0.127 283.3)

  • #71132A

    #71132A

    oklch(36.2% 0.127 13.1)

  • #453F00

    #453F00

    oklch(36.2% 0.076 103.5)

  • #004847

    #004847

    oklch(36.3% 0.062 193.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #382F7D 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.