#382D56

Closest named color: Space Cadet (#2B2D42). oklch(33% 0.071 294.5), rgb(56, 45, 86).

Aa

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

About this color

#382D56 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.071 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.044 away. White text reads best on it, at 12.51:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.67:1
White text12.51:1

Values

HEX#382D56
RGBrgb(56, 45, 86)
HSLhsl(256, 31%, 26%)
OKLCHoklch(33% 0.071 294.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 #382D56 12.51:1 AAA Lc -101.8 Preferred for body text
Black text on #382D56 1.67:1 Fails Lc 0.0 Not readable
#382D56 text on white 12.51:1 AAA Lc 98.3 Preferred for body text
#382D56 text on black 1.67: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

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DAD6EB

    oklch(88.6% 0.029 294.5)

  4. Step 300

    300

    #C2BAE0

    oklch(80.8% 0.054 294.8)

  5. Step 400

    400

    #A496D1

    oklch(70.7% 0.086 295)

  6. Step 500

    500

    #8E7CC5

    oklch(63.2% 0.109 294.4)

  7. Step 600

    600

    #7864B1

    oklch(55.6% 0.118 294.2)

  8. Step 700

    700

    #655299

    oklch(49.1% 0.112 294.2)

  9. Step 800

    800

    #53447C

    oklch(42.8% 0.091 294.6)

  10. Step 900

    900 (this color)

    #382D56

    oklch(33% 0.071 294.5)

  11. Step 950

    950

    #28223A

    oklch(27.1% 0.044 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#382D56 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)#2034580.040
Deuteranopia (no green cones)#2233550.038
Tritanopia (no blue cones)#31353D0.059
Achromatopsia (no color)#3434340.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #382D56

    #382D56

    oklch(33% 0.071 294.5)

  • #353904

    #353904

    oklch(33% 0.071 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #382D56

    #382D56

    oklch(33% 0.071 294.5)

  • #23345A

    #23345A

    oklch(33.1% 0.071 264.6)

  • #47274A

    #47274A

    oklch(32.9% 0.073 323.9)

Open the analogous palette in the generator

Split complementary

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

  • #382D56

    #382D56

    oklch(33% 0.071 294.5)

  • #453200

    #453200

    oklch(33% 0.068 85.3)

  • #1B3F1C

    #1B3F1C

    oklch(33.1% 0.073 144.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #382D56

    #382D56

    oklch(33% 0.071 294.5)

  • #512A0B

    #512A0B

    oklch(33.1% 0.072 54.8)

  • #004033

    #004033

    oklch(33.1% 0.063 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #382D56

    #382D56

    oklch(33% 0.071 294.5)

  • #542522

    #542522

    oklch(33% 0.071 25.4)

  • #353904

    #353904

    oklch(33% 0.071 114.1)

  • #003D43

    #003D43

    oklch(32.9% 0.056 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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